Files
rime-ice/others/script/Makefile
2026-04-27 17:52:25 +08:00

26 lines
436 B
Makefile

.DEFAULT_GOAL := default
.PHONY: default build lint lint-yaml lint-lua lint-lua-format smoke
default:
@:
build:
go version || (echo "请先安装 Go"; exit 1)
go mod tidy && go run . --rime_path "$$(cd ../.. && pwd)" --auto_confirm
lint:
bash lint/run.sh all
lint-yaml:
bash lint/run.sh yaml-lint
lint-lua:
bash lint/run.sh lua-lint
lint-lua-format:
bash lint/run.sh lua-format-check
smoke:
bash ./smoke/run.sh rime_ice