mirror of
https://github.com/ivabus/pantry
synced 2024-11-27 02:35:08 +03:00
25 lines
499 B
YAML
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'
|