feat(builder): support project-local distribution scripts

This commit is contained in:
2026-10-12 12:26:10 +08:00
parent a35cc916cb
commit 544cbcca32
8 changed files with 193 additions and 23 deletions
@@ -1,5 +1,6 @@
# Builder 契约文件。放到项目根,用 `make -f makefile.builder <target>`。
# Android 轨道:build 产出 dist/<name>_<version>_<arch>.apk,push 走 copy_artifact.sh。
# copy_artifact.sh 会按 COPY_SCRIPT 分发;未配置时回退到 COPY_DEST。
# ARCHES 是构建机 ISA;APK 可含多 ABI。不要把这些目标写进用户 Makefile。
ARCHES ?= amd64
@@ -35,7 +36,7 @@ help:
@echo " make -f makefile.builder version - 打印规范版本"
@echo " make -f makefile.builder arches - 打印架构清单"
@echo " make -f makefile.builder clean - 删除 $(DIST_DIR)"
@echo " make -f makefile.builder push - copy_artifact.sh 拷到 COPY_DEST"
@echo " make -f makefile.builder push - copy_artifact.sh 分发 APK"
version:
@echo $(VERSION)