mirror of
https://github.com/ivabus/pantry
synced 2024-11-26 02:15:06 +03:00
62b814df99
* new file: projects/microcks.io/microcks-cli/package.yml * microcks.io/microcks-cli => microcks.io
31 lines
508 B
YAML
31 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}}
|