pantry/projects/schollz.com/croc/package.yml
Max Howell 81e7a5e16f
pkgx
2023-10-01 14:44:42 -04:00

20 lines
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}}