pantry/projects/github.com/abiosoft/colima/package.yml
Max Howell 81e7a5e16f
pkgx
2023-10-01 14:44:42 -04:00

32 lines
No EOL
578 B
YAML

distributable:
url: https://github.com/abiosoft/colima/archive/v{{version}}.tar.gz
strip-components: 1
versions:
github: abiosoft/colima
platforms:
- darwin
# +lima-vm.io => qemu.org = only darwin
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
provides:
- bin/colima
test: colima version | grep {{version}}