mirror of
https://github.com/ivabus/pantry
synced 2024-11-10 10:35:17 +03:00
32 lines
502 B
YAML
32 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 build $ARGS
|
||
|
mkdir -p {{prefix}}/bin
|
||
|
mv ./bin/jf {{prefix}}/bin
|
||
|
ln -sf jf {{prefix}}/bin/jfrog
|
||
|
|
||
|
env:
|
||
|
ARGS:
|
||
|
- -trimpath
|
||
|
- -o=bin/jf
|
||
|
|
||
|
provides:
|
||
|
- bin/jf
|
||
|
- bin/jfrog
|
||
|
|
||
|
test: |
|
||
|
jf -v | grep {{version}}
|
||
|
jfrog -v | grep {{version}}
|