fix CI (#1462)
This commit is contained in:
17
Makefile
17
Makefile
@@ -1,13 +1,3 @@
|
||||
.PHONY: install-stylua
|
||||
install-stylua:
|
||||
@if [ ! -f "./utils/stylua" ]; then \
|
||||
sh ./utils/install_stylua.sh; \
|
||||
fi
|
||||
|
||||
.PHONY: fmt
|
||||
fmt: install-stylua
|
||||
./utils/stylua --config-path stylua.toml --glob 'lua/**/*.lua' -- lua
|
||||
|
||||
.PHONY: lint
|
||||
lint:
|
||||
luacheck ./lua
|
||||
@@ -17,14 +7,11 @@ test:
|
||||
vusted --output=gtest ./lua
|
||||
|
||||
.PHONY: pre-commit
|
||||
pre-commit: install-stylua
|
||||
./utils/stylua --config-path stylua.toml --glob 'lua/**/*.lua' -- lua
|
||||
pre-commit:
|
||||
luacheck lua
|
||||
vusted lua
|
||||
|
||||
.PHONY: integration
|
||||
integration: install-stylua
|
||||
./utils/stylua --config-path stylua.toml --check --glob 'lua/**/*.lua' -- lua
|
||||
integration:
|
||||
luacheck lua
|
||||
vusted lua
|
||||
|
||||
|
||||
Reference in New Issue
Block a user