mirror of
https://github.com/ivabus/pantry
synced 2024-11-22 08:25:07 +03:00
parent
94007337e1
commit
e9e65ce96a
1 changed files with 29 additions and 0 deletions
29
projects/logdy.dev/package.yml
Normal file
29
projects/logdy.dev/package.yml
Normal file
|
@ -0,0 +1,29 @@
|
|||
distributable:
|
||||
url: https://github.com/logdyhq/logdy-core/archive/refs/tags/{{version.tag}}.tar.gz
|
||||
strip-components: 1
|
||||
|
||||
versions:
|
||||
github: logdyhq/logdy-core
|
||||
|
||||
build:
|
||||
dependencies:
|
||||
go.dev: ^1.21.4
|
||||
script: go build $ARGS -ldflags="$GO_LDFLAGS" ./
|
||||
env:
|
||||
ARGS:
|
||||
- -trimpath
|
||||
- -o={{prefix}}/bin/logdy
|
||||
GO_LDFLAGS:
|
||||
- -s
|
||||
- -w
|
||||
- -X=main.Version={{version}}
|
||||
linux:
|
||||
GO_LDFLAGS:
|
||||
- -buildmode=pie
|
||||
|
||||
provides:
|
||||
- bin/logdy
|
||||
|
||||
test:
|
||||
- logdy --version | grep {{version}}
|
||||
- logdy --help
|
Loading…
Reference in a new issue