Files
nvim-cmp/Makefile
Abouzar Parvan fe964405ff install stylua without cargo (#54)
* install stylua without cargo

* move stylua to path

* add required permissions for stylua

* run stylua from utils dir
2021-08-25 03:49:55 +09:00

25 lines
437 B
Makefile

.PHONY: fmt
fmt:
./utils/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