pantry/projects/jfrog.com/jfrog-cli/package.yml

31 lines
502 B
YAML
Raw Normal View History

distributable:
url: https://github.com/jfrog/jfrog-cli/archive/refs/tags/v{{version}}.tar.gz
strip-components: 1
versions:
github: jfrog/jfrog-cli
platforms:
- darwin
build:
dependencies:
go.dev: '*'
2024-02-21 21:58:49 +03:00
script:
- go mod tidy
- go build $ARGS
- run: ln -s jf jfrog
working-directory: '{{prefix}}/bin'
env:
ARGS:
- -trimpath
2024-02-21 22:13:54 +03:00
- -o {{prefix}}/bin/jf
provides:
- bin/jf
- bin/jfrog
2024-02-21 21:58:49 +03:00
test:
- jf -v | grep {{version}}
- jfrog -v | grep {{version}}