mirror of
https://github.com/ivabus/pantry
synced 2024-11-22 16:35:07 +03:00
jfrog.com/jfrog-cli (#2188)
* new file: projects/jfrog.com/jfrog-cli/package.yml * symlink * test * modified: projects/jfrog.com/jfrog-cli/package.yml * clean up --------- Co-authored-by: Jacob Heider <jacob@tea.xyz>
This commit is contained in:
parent
f10d9087b9
commit
2792f48386
1 changed files with 33 additions and 0 deletions
33
projects/jfrog.com/jfrog-cli/package.yml
Normal file
33
projects/jfrog.com/jfrog-cli/package.yml
Normal file
|
@ -0,0 +1,33 @@
|
|||
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:
|
||||
tea.xyz/gx/cc: c99
|
||||
tea.xyz/gx/make: '*'
|
||||
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}}
|
Loading…
Reference in a new issue