fix: harden Unix scripts and Makefile

This commit is contained in:
FlipWind
2026-08-09 00:26:42 +08:00
parent b57726f434
commit 7c76365942
4 changed files with 36 additions and 16 deletions
+7 -7
View File
@@ -21,13 +21,13 @@ else
endif
help:
@echo "SFCraft 文档"
@echo " make build 同步物品贴图并执行 hugo 构建"
@echo " make dev 同步物品贴图并启动 hugo 开发服务器"
@echo " make sync 仅同步物品贴图"
@echo " make help 显示本帮助"
@echo ""
@echo "可附加 hugo 参数: make dev HUGO_ARGS=\"--port 1314\""
@echo SFCraft 文档
@echo make build 同步物品贴图并执行 hugo 构建
@echo make dev 同步物品贴图并启动 hugo 开发服务器
@echo make sync 仅同步物品贴图
@echo make help 显示本帮助
@echo
@echo 可附加 hugo 参数: make dev HUGO_ARGS="--port 1314"
sync:
$(SYNC_CMD)