pantry/projects/jfrog.com/jfrog-cli/package.yml
Jacob Heider 51bf23f952
fix(jfrog)
quoting is the worst
2024-02-21 14:13:54 -05:00

31 lines
502 B
YAML

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: '*'
script:
- go mod tidy
- go build $ARGS
- run: ln -s jf jfrog
working-directory: '{{prefix}}/bin'
env:
ARGS:
- -trimpath
- -o {{prefix}}/bin/jf
provides:
- bin/jf
- bin/jfrog
test:
- jf -v | grep {{version}}
- jfrog -v | grep {{version}}