mirror of
https://github.com/ivabus/pantry
synced 2024-11-23 00:45:07 +03:00
parent
92e7cca9c8
commit
2a30183b4f
1 changed files with 21 additions and 0 deletions
21
projects/schollz.com/croc/package.yml
Normal file
21
projects/schollz.com/croc/package.yml
Normal file
|
@ -0,0 +1,21 @@
|
||||||
|
distributable:
|
||||||
|
url: https://github.com/schollz/croc/archive/v{{version}}.tar.gz
|
||||||
|
strip-components: 1
|
||||||
|
versions:
|
||||||
|
github: schollz/croc
|
||||||
|
build:
|
||||||
|
dependencies:
|
||||||
|
tea.xyz/gx/cc: c99
|
||||||
|
go.dev: '*'
|
||||||
|
script:
|
||||||
|
- go build $ARGS -ldflags="-s -w"
|
||||||
|
env:
|
||||||
|
ARGS:
|
||||||
|
- -trimpath
|
||||||
|
- -o={{prefix}}/bin/croc
|
||||||
|
linux:
|
||||||
|
ARGS:
|
||||||
|
- -asan
|
||||||
|
provides:
|
||||||
|
- bin/croc
|
||||||
|
test: croc --version | grep {{version}}
|
Loading…
Reference in a new issue