mirror of
https://github.com/ivabus/pantry
synced 2024-11-25 18:05:07 +03:00
bdfebb7932
closes #3883
31 lines
576 B
YAML
31 lines
576 B
YAML
distributable:
|
|
url: https://github.com/cointop-sh/cointop/archive/refs/tags/v{{ version }}.tar.gz
|
|
strip-components: 1
|
|
|
|
versions:
|
|
github: cointop-sh/cointop
|
|
strip: /^v/
|
|
|
|
dependencies:
|
|
curl.se/ca-certs: '*'
|
|
|
|
build:
|
|
dependencies:
|
|
go.dev: ^1.17
|
|
script: |
|
|
go build -ldflags="$LDFLAGS" -o "{{prefix}}/bin/cointop"
|
|
env:
|
|
LDFLAGS:
|
|
- -s
|
|
- -w
|
|
- -X github.com/cointop-sh/cointop/cointop.version={{version}}
|
|
linux:
|
|
LDFLAGS:
|
|
- -buildmode=pie
|
|
|
|
provides:
|
|
- bin/cointop
|
|
|
|
entrypoint: bin/cointop
|
|
|
|
test: cointop price -c Bitcoin
|