build: optimize Makefile for configurable multi-platform matrix and packaging

This commit is contained in:
DBT
2026-03-01 12:34:14 +00:00
parent 9f5191eef3
commit 72319b504d
3 changed files with 58 additions and 8 deletions

View File

@@ -154,6 +154,16 @@ clawgo skills ... Skill install/list/remove/show
clawgo uninstall [--purge] [--remove-bin]
```
Make cross-platform build:
```bash
make build-all
# Override build matrix (example)
make build-all BUILD_TARGETS="linux/amd64 linux/arm64 darwin/arm64 windows/amd64"
# Package artifacts + checksums
make package-all
```
Global flags:
```bash