diff --git a/projects/github.com/tom-on-the-internet/cemetery-escape/package.yml b/projects/github.com/tom-on-the-internet/cemetery-escape/package.yml new file mode 100644 index 00000000..08742636 --- /dev/null +++ b/projects/github.com/tom-on-the-internet/cemetery-escape/package.yml @@ -0,0 +1,24 @@ +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'