mirror of
https://github.com/ivabus/pantry
synced 2024-11-22 08:25:07 +03:00
+github.com/adnanh/webhook
This commit is contained in:
parent
e2b75d8cec
commit
5f5abc773c
1 changed files with 26 additions and 0 deletions
26
projects/github.com/adnanh/webhook/package.yml
Normal file
26
projects/github.com/adnanh/webhook/package.yml
Normal file
|
@ -0,0 +1,26 @@
|
||||||
|
distributable:
|
||||||
|
url: https://github.com/adnanh/webhook/archive/refs/tags/{{version}}.tar.gz
|
||||||
|
strip-components: 1
|
||||||
|
|
||||||
|
display-name: webhook
|
||||||
|
|
||||||
|
versions:
|
||||||
|
github: adnanh/webhook
|
||||||
|
|
||||||
|
build:
|
||||||
|
dependencies:
|
||||||
|
go.dev: ^1.21
|
||||||
|
env:
|
||||||
|
CGO_ENABLED: 1
|
||||||
|
LDFLAGS:
|
||||||
|
- -s
|
||||||
|
- -w
|
||||||
|
linux:
|
||||||
|
LDFLAGS:
|
||||||
|
- -buildmode=pie
|
||||||
|
script: go build -v -ldflags="${LDFLAGS}" -o {{prefix}}/bin/webhook
|
||||||
|
|
||||||
|
provides:
|
||||||
|
- bin/webhook
|
||||||
|
|
||||||
|
test: test "$(webhook --version| cut -d' ' -f 3)" = {{version}}
|
Loading…
Reference in a new issue