mirror of
https://github.com/ivabus/pantry
synced 2024-11-25 18:05:07 +03:00
37b48548b1
closes #4971
26 lines
541 B
YAML
26 lines
541 B
YAML
distributable:
|
|
url: https://github.com/pokt-network/pocket-core/archive/refs/tags/RC-{{version}}.tar.gz
|
|
strip-components: 1
|
|
|
|
versions:
|
|
github: pokt-network/pocket-core/tags
|
|
strip: /^RC-/
|
|
|
|
provides:
|
|
- bin/pocket
|
|
|
|
build:
|
|
dependencies:
|
|
go.dev: ^1.18
|
|
script: |
|
|
go build -ldflags="$GO_LDFLAGS" -o pocket ./app/cmd/pocket_core/main.go
|
|
mkdir -p "{{ prefix }}"/bin
|
|
mv pocket "{{ prefix }}"/bin
|
|
env:
|
|
linux:
|
|
GO_LDFLAGS:
|
|
- -buildmode=pie
|
|
|
|
test:
|
|
- pocket version
|
|
- pocket version | grep {{version}}
|