mirror of
https://github.com/ivabus/pantry
synced 2024-11-25 09:55:06 +03:00
+onsi.github.io/ginkgo (#6216)
* +onsi.github.io/ginkgo * use {{ version.tag }} for safety --------- Co-authored-by: Jacob Heider <jacob@pkgx.dev>
This commit is contained in:
parent
94632110b9
commit
f142ce26b5
1 changed files with 27 additions and 0 deletions
27
projects/onsi.github.io/ginkgo/package.yml
Normal file
27
projects/onsi.github.io/ginkgo/package.yml
Normal file
|
@ -0,0 +1,27 @@
|
||||||
|
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 }}
|
Loading…
Reference in a new issue