mirror of
https://github.com/ivabus/pantry
synced 2024-11-23 00:45:07 +03:00
20 lines
No EOL
391 B
YAML
20 lines
No EOL
391 B
YAML
distributable:
|
|
url: https://github.com/schollz/croc/archive/v{{version}}.tar.gz
|
|
strip-components: 1
|
|
versions:
|
|
github: schollz/croc
|
|
build:
|
|
dependencies:
|
|
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}} |