mirror of
https://github.com/ivabus/pantry
synced 2024-11-10 02:25:18 +03:00
32 lines
508 B
YAML
32 lines
508 B
YAML
|
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}}
|