mirror of
https://github.com/ivabus/pantry
synced 2024-11-26 02:15:06 +03:00
+github.com/skx/marionette
This commit is contained in:
parent
5f5abc773c
commit
0d2cdc6256
1 changed files with 30 additions and 0 deletions
30
projects/github.com/skx/marionette/package.yml
Normal file
30
projects/github.com/skx/marionette/package.yml
Normal file
|
@ -0,0 +1,30 @@
|
||||||
|
distributable:
|
||||||
|
url: https://github.com/skx/marionette/archive/refs/tags/v{{version}}.tar.gz
|
||||||
|
strip-components: 1
|
||||||
|
|
||||||
|
display-name: marionette
|
||||||
|
|
||||||
|
versions:
|
||||||
|
github: skx/marionette
|
||||||
|
strip:
|
||||||
|
- /^v/
|
||||||
|
|
||||||
|
build:
|
||||||
|
dependencies:
|
||||||
|
go.dev: '*'
|
||||||
|
env:
|
||||||
|
CGO_ENABLED: 0
|
||||||
|
LDFLAGS:
|
||||||
|
- -s
|
||||||
|
- -w
|
||||||
|
- -X main.version={{version}}
|
||||||
|
linux:
|
||||||
|
LDFLAGS:
|
||||||
|
- -buildmode=pie
|
||||||
|
script: go build -v -ldflags="${LDFLAGS}" -o "{{ prefix }}"/bin/marionette
|
||||||
|
|
||||||
|
|
||||||
|
provides:
|
||||||
|
- bin/marionette
|
||||||
|
|
||||||
|
test: test "$(marionette -version|head -1)" = {{version}}
|
Loading…
Reference in a new issue