schollz.com/croc (#2585)

* schollz.com/croc

* tea.xyz/gx/cc: c99
This commit is contained in:
Andrew 2023-07-16 00:56:55 +03:00 committed by GitHub
parent 92e7cca9c8
commit 2a30183b4f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View 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}}