add(lima,linux)

This commit is contained in:
Jacob Heider 2023-11-07 15:35:11 -05:00 committed by Jacob Heider
parent ea373b05bf
commit 709c3d76ed

View file

@ -5,10 +5,6 @@ distributable:
versions: versions:
github: lima-vm/lima github: lima-vm/lima
platforms:
# https://github.com/teaxyz/pantry/blob/main/projects/qemu.org/package.yml only darwin
- darwin
dependencies: dependencies:
qemu.org: '*' qemu.org: '*'
@ -16,9 +12,17 @@ build:
dependencies: dependencies:
go.dev: '*' go.dev: '*'
script: script:
- make VERSION={{version}} clean all - run: |
sed -i.bak -e's/ldflags="/ldflags="-buildmode=pie /' Makefile
rm Makefile.bak
if: linux
- make VERSION={{version}} minimal
- mkdir -p {{prefix}} - mkdir -p {{prefix}}
- mv ./_output/* {{prefix}}/ - mv ./_output/* {{prefix}}/
env:
CC: clang
CXX: clang++
LD: clang
provides: provides:
- bin/limactl - bin/limactl