mirror of
https://github.com/ivabus/pantry
synced 2024-11-22 08:25:07 +03:00
+microcks.io (#5232)
* new file: projects/microcks.io/microcks-cli/package.yml * microcks.io/microcks-cli => microcks.io
This commit is contained in:
parent
b9f45d2bd6
commit
62b814df99
1 changed files with 31 additions and 0 deletions
31
projects/microcks.io/package.yml
Normal file
31
projects/microcks.io/package.yml
Normal file
|
@ -0,0 +1,31 @@
|
|||
distributable:
|
||||
url: git+https://github.com/microcks/microcks-cli.git
|
||||
ref: ${{version.tag}}
|
||||
|
||||
versions:
|
||||
github: microcks/microcks-cli
|
||||
|
||||
dependencies:
|
||||
curl.se/ca-certs: '*'
|
||||
|
||||
build:
|
||||
dependencies:
|
||||
go.dev: ^1.21
|
||||
script:
|
||||
go build $ARGS -ldflags="$LDFLAGS" .
|
||||
env:
|
||||
ARGS:
|
||||
- -trimpath
|
||||
- -o={{prefix}}/bin/microcks-cli
|
||||
linux:
|
||||
ARGS:
|
||||
- -buildmode=pie
|
||||
LDFLAGS:
|
||||
- -s
|
||||
- -w
|
||||
|
||||
provides:
|
||||
- bin/microcks-cli
|
||||
|
||||
test:
|
||||
microcks-cli version | grep {{version}}
|
Loading…
Reference in a new issue