mirror of
https://github.com/ivabus/pantry
synced 2024-11-25 09:55:06 +03:00
2a30183b4f
* schollz.com/croc * tea.xyz/gx/cc: c99
21 lines
No EOL
414 B
YAML
21 lines
No EOL
414 B
YAML
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}} |