release 0.0.2

This commit is contained in:
2026-02-05 20:52:57 +08:00
parent dbbfce1c4f
commit b4c15bf78c
3 changed files with 18 additions and 1 deletions

View File

@@ -59,6 +59,16 @@ tasks:
CGO_ENABLED: 1
GOARCH: "{{.ARCH | default ARCH}}"
build:prod:
summary: Builds the application natively on Linux
deps:
- task: build
cmds:
- upx --best --lzma {{.OUTPUT}}
vars:
DEFAULT_OUTPUT: "{{.BIN_DIR}}/{{.APP_NAME}}"
OUTPUT: "{{ .OUTPUT | default .DEFAULT_OUTPUT }}"
build:docker:
summary: Builds for Linux using Docker (for non-Linux hosts or when no C compiler available)
internal: true