mirror of
https://github.com/ivabus/pantry
synced 2024-11-23 00:45:07 +03:00
30 lines
No EOL
563 B
YAML
30 lines
No EOL
563 B
YAML
distributable:
|
|
url: https://github.com/abiosoft/colima/archive/v{{version}}.tar.gz
|
|
strip-components: 1
|
|
|
|
versions:
|
|
github: abiosoft/colima
|
|
|
|
dependencies:
|
|
lima-vm.io: '*'
|
|
|
|
build:
|
|
dependencies:
|
|
go.dev: '*'
|
|
script: go build $ARGS -ldflags="$LDFLAGS" ./cmd/colima
|
|
env:
|
|
LDFLAGS:
|
|
- -s
|
|
- -w
|
|
- -X github.com/abiosoft/colima/config.appVersion={{version}}
|
|
ARGS:
|
|
- -trimpath
|
|
- -o={{prefix}}/bin/colima
|
|
linux:
|
|
LDFLAGS:
|
|
- -buildmode=pie
|
|
|
|
provides:
|
|
- bin/colima
|
|
|
|
test: colima version | grep {{version}} |