mirror of
https://github.com/ivabus/pantry
synced 2024-11-22 16:35:07 +03:00
+kaspad
This commit is contained in:
parent
ec80f51fa5
commit
4db62733d5
1 changed files with 31 additions and 0 deletions
31
projects/github.com/kaspanet/kaspad/package.yml
Normal file
31
projects/github.com/kaspanet/kaspad/package.yml
Normal file
|
@ -0,0 +1,31 @@
|
||||||
|
distributable:
|
||||||
|
url: https://github.com/kaspanet/kaspad/archive/refs/tags/v{{version}}.tar.gz
|
||||||
|
strip-components: 1
|
||||||
|
|
||||||
|
versions:
|
||||||
|
github: kaspanet/kaspad
|
||||||
|
strip: /^v/
|
||||||
|
|
||||||
|
build:
|
||||||
|
dependencies:
|
||||||
|
go.dev: ^1.18
|
||||||
|
script: |
|
||||||
|
go install -ldflags="$LDFLAGS" . ./cmd/...
|
||||||
|
env:
|
||||||
|
GOBIN: "{{prefix}}/bin"
|
||||||
|
LDFLAGS:
|
||||||
|
- -X=main.Version=v{{version}}
|
||||||
|
linux:
|
||||||
|
LDFLAGS:
|
||||||
|
- -buildmode=pie
|
||||||
|
|
||||||
|
provides:
|
||||||
|
- bin/genkeypair
|
||||||
|
- bin/kaspactl
|
||||||
|
- bin/kaspad
|
||||||
|
- bin/kaspaminer
|
||||||
|
- bin/kaspawallet
|
||||||
|
|
||||||
|
test:
|
||||||
|
- kaspawallet show-addresses || true
|
||||||
|
- echo $(kaspawallet show-addresses 2>&1 || true) | grep "kaspawallet daemon is not running, start it with"
|
Loading…
Reference in a new issue