mirror of
https://github.com/ivabus/pantry
synced 2024-11-22 08:25:07 +03:00
parent
f63bb9e5e0
commit
d178289238
1 changed files with 9 additions and 10 deletions
|
@ -11,21 +11,20 @@ platforms:
|
||||||
build:
|
build:
|
||||||
dependencies:
|
dependencies:
|
||||||
go.dev: '*'
|
go.dev: '*'
|
||||||
script: |
|
script:
|
||||||
go build $ARGS
|
- go mod tidy
|
||||||
mkdir -p {{prefix}}/bin
|
- go build $ARGS
|
||||||
mv ./bin/jf {{prefix}}/bin
|
- run: ln -s jf jfrog
|
||||||
ln -sf jf {{prefix}}/bin/jfrog
|
working-directory: '{{prefix}}/bin'
|
||||||
|
|
||||||
env:
|
env:
|
||||||
ARGS:
|
ARGS:
|
||||||
- -trimpath
|
- -trimpath
|
||||||
- -o=bin/jf
|
- -o='{{prefix}}/bin/jf'
|
||||||
|
|
||||||
provides:
|
provides:
|
||||||
- bin/jf
|
- bin/jf
|
||||||
- bin/jfrog
|
- bin/jfrog
|
||||||
|
|
||||||
test: |
|
test:
|
||||||
jf -v | grep {{version}}
|
- jf -v | grep {{version}}
|
||||||
jfrog -v | grep {{version}}
|
- jfrog -v | grep {{version}}
|
||||||
|
|
Loading…
Reference in a new issue