mirror of
https://github.com/ivabus/pantry
synced 2024-11-10 02:25:18 +03:00
new file: projects/github.com/xeol-io/xeol/package.yml (#3762)
This commit is contained in:
parent
318134a3f0
commit
55ff07e428
24
projects/github.com/xeol-io/xeol/package.yml
Normal file
24
projects/github.com/xeol-io/xeol/package.yml
Normal file
|
@ -0,0 +1,24 @@
|
|||
distributable:
|
||||
url: https://github.com/xeol-io/xeol/archive/v{{version}}.tar.gz
|
||||
strip-components: 1
|
||||
versions:
|
||||
github: xeol-io/xeol
|
||||
build:
|
||||
dependencies:
|
||||
go.dev: '*'
|
||||
script:
|
||||
- go build $GO_ARGS -ldflags="$LD_FLAGS" ./cmd/xeol
|
||||
env:
|
||||
GO_ARGS:
|
||||
- -trimpath
|
||||
- -o="{{prefix}}/bin/xeol"
|
||||
LD_FLAGS:
|
||||
- -s
|
||||
- -w
|
||||
- -X main.version={{version}}
|
||||
- -X main.buildDate=$(date -u +"%Y-%m-%dT%H:%M:%SZ")
|
||||
provides:
|
||||
- bin/xeol
|
||||
test:
|
||||
script:
|
||||
- xeol version | grep {{version}}
|
Loading…
Reference in a new issue