mirror of
https://github.com/ivabus/pantry
synced 2024-11-27 02:35:08 +03:00
bb01b94787
* new file: projects/github.com/abiosoft/colima/package.yml * modified: projects/github.com/abiosoft/colima/package.yml * add platforms
34 lines
No EOL
626 B
YAML
34 lines
No EOL
626 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:
|
|
tea.xyz/gx/cc: c99
|
|
tea.xyz/gx/make: '*'
|
|
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}} |