install stylua without cargo (#54)
* install stylua without cargo * move stylua to path * add required permissions for stylua * run stylua from utils dir
This commit is contained in:
6
Makefile
6
Makefile
@@ -1,6 +1,6 @@
|
||||
.PHONY: fmt
|
||||
fmt:
|
||||
stylua --glob lua/**/*.lua -- lua
|
||||
./utils/stylua --config-path stylua.toml ---glob lua/**/*.lua -- lua
|
||||
|
||||
.PHONY: lint
|
||||
lint:
|
||||
@@ -12,13 +12,13 @@ test:
|
||||
|
||||
.PHONY: pre-commit
|
||||
pre-commit:
|
||||
stylua --glob lua/**/*.lua -- lua
|
||||
./utils/stylua --config-path stylua.toml --glob lua/**/*.lua -- lua
|
||||
luacheck lua
|
||||
vusted lua
|
||||
|
||||
.PHONY: integration
|
||||
integration:
|
||||
stylua --check --glob lua/**/*.lua -- lua
|
||||
./utils/stylua --config-path stylua.toml --check --glob lua/**/*.lua -- lua
|
||||
luacheck lua
|
||||
vusted lua
|
||||
|
||||
|
||||
Reference in New Issue
Block a user