mirror of
https://github.com/ivabus/pantry
synced 2024-11-22 08:25:07 +03:00
Add minio/mc
This commit is contained in:
parent
8c8ea44e01
commit
bdeaf8ae49
1 changed files with 27 additions and 0 deletions
27
projects/min.io/mc/package.yml
Normal file
27
projects/min.io/mc/package.yml
Normal file
|
@ -0,0 +1,27 @@
|
||||||
|
distributable:
|
||||||
|
url: https://github.com/minio/mc/archive/RELEASE.2023-10-24T21-42-22Z.tar.gz
|
||||||
|
strip-components: 1
|
||||||
|
versions:
|
||||||
|
- 2023.10.24.21.42.22
|
||||||
|
build:
|
||||||
|
dependencies:
|
||||||
|
go.dev: '*'
|
||||||
|
script:
|
||||||
|
- go build $GO_ARGS -ldflags="$LD_FLAGS"
|
||||||
|
env:
|
||||||
|
GO_ARGS:
|
||||||
|
- -trimpath
|
||||||
|
- -o="{{prefix}}/bin/mc"
|
||||||
|
linux:
|
||||||
|
GO_ARGS:
|
||||||
|
- -buildmode=pie
|
||||||
|
LD_FLAGS:
|
||||||
|
- -s
|
||||||
|
- -w
|
||||||
|
- "-X github.com/minio/mc/cmd.ReleaseTag=2023-10-24T21-42-22Z"
|
||||||
|
provides:
|
||||||
|
- bin/mc
|
||||||
|
test:
|
||||||
|
script: |
|
||||||
|
mc --version | grep "2023-10-24T21-42-22Z"
|
||||||
|
mc mb test
|
Loading…
Reference in a new issue