pantry/projects/github.com/tom-on-the-internet/cemetery-escape/package.yml
2023-11-20 14:09:37 -05:00

25 lines
499 B
YAML

distributable:
url: https://github.com/tom-on-the-internet/cemetery-escape/archive/refs/tags/{{version}}.tar.gz
strip-components: 1
versions:
github: tom-on-the-internet/cemetery-escape
build:
dependencies:
go.dev: ^1.21
script:
- go build -ldflags="$LDFLAGS" -o "{{prefix}}"/bin/cemetery-escape
env:
LDFLAGS:
- -s
- -w
linux:
LDFLAGS:
- -buildmode=pie
provides:
- bin/cemetery-escape
test: cemetery-escape --help | grep 'CEMETERY ESCAPE'