mirror of
https://github.com/ivabus/pantry
synced 2024-11-23 08:55:07 +03:00
28 lines
501 B
YAML
28 lines
501 B
YAML
|
distributable:
|
||
|
url: https://github.com/onsi/ginkgo/archive/refs/tags/{{version.tag}}.tar.gz
|
||
|
strip-components: 1
|
||
|
|
||
|
display-name: ginkgo
|
||
|
|
||
|
versions:
|
||
|
github: onsi/ginkgo
|
||
|
|
||
|
build:
|
||
|
dependencies:
|
||
|
go.dev: ^1.20
|
||
|
env:
|
||
|
CGO_ENABLED: 0
|
||
|
LDFLAGS:
|
||
|
- -s
|
||
|
- -w
|
||
|
linux:
|
||
|
LDFLAGS:
|
||
|
- -buildmode=pie
|
||
|
script:
|
||
|
- go build -v -ldflags="${LDFLAGS}" -o "{{ prefix }}"/bin/ginkgo ./ginkgo/main.go
|
||
|
|
||
|
provides:
|
||
|
- bin/ginkgo
|
||
|
|
||
|
test: test "$(ginkgo version|cut -d' ' -f3)" = {{ version }}
|