pantry/projects/cointop.sh/package.yml

32 lines
583 B
YAML
Raw Normal View History

2023-04-29 07:39:07 +03:00
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/x86-64:
LDFLAGS:
- -buildmode=pie
provides:
- bin/cointop
2023-06-27 01:11:36 +03:00
entrypoint: bin/cointop
2023-04-29 07:39:07 +03:00
test: cointop price -c Bitcoin