mirror of
https://github.com/SpaceVim/SpaceVim.git
synced 2025-01-23 17:40:06 +08:00
25 lines
434 B
Makefile
25 lines
434 B
Makefile
.PHONY: fmt
|
|
fmt:
|
|
stylua --config-path stylua.toml --glob 'lua/**/*.lua' -- lua
|
|
|
|
.PHONY: lint
|
|
lint:
|
|
luacheck ./lua
|
|
|
|
.PHONY: test
|
|
test:
|
|
vusted --output=gtest ./lua
|
|
|
|
.PHONY: pre-commit
|
|
pre-commit:
|
|
./utils/stylua --config-path stylua.toml --glob 'lua/**/*.lua' -- lua
|
|
luacheck lua
|
|
vusted lua
|
|
|
|
.PHONY: integration
|
|
integration:
|
|
./utils/stylua --config-path stylua.toml --check --glob 'lua/**/*.lua' -- lua
|
|
luacheck lua
|
|
vusted lua
|
|
|