pantry/projects/pokt.network/package.yml
Jacob Heider 37b48548b1 fix(pokt)
closes #4971
2024-01-24 14:30:04 -05:00

27 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}}