mirror of
https://github.com/iDvel/rime-ice.git
synced 2026-05-14 00:30:37 +08:00
* ci: add lint scripts * fix(lint): handle luacheck summary with ansi colors * fix(ci): use luarocks to install luacheck * fix(ci): add sudo * test: 调整用例顺序
25 lines
358 B
Makefile
25 lines
358 B
Makefile
.DEFAULT_GOAL := default
|
|
|
|
.PHONY: default build lint lint-yaml lint-lua lint-lua-format smoke
|
|
|
|
default:
|
|
@:
|
|
|
|
build:
|
|
go run . --rime_path "$$(cd ../.. && pwd)"
|
|
|
|
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
|