diff options
| author | Florian Fischer <florian.fl.fischer@fau.de> | 2021-03-08 12:07:57 +0100 |
|---|---|---|
| committer | Florian Fischer <florian.fl.fischer@fau.de> | 2021-03-08 12:07:57 +0100 |
| commit | 4bf903481ac49c33ac1059c1fe1e79a0e2ef8f9b (patch) | |
| tree | 9a3922348e8642c51b5ad83c04220a308b5af40c | |
| parent | 2c7553a237784ea746c7a397e7df7fa91db23379 (diff) | |
| download | vis-lspc-4bf903481ac49c33ac1059c1fe1e79a0e2ef8f9b.tar.gz vis-lspc-4bf903481ac49c33ac1059c1fe1e79a0e2ef8f9b.zip | |
add new check-format make target
| -rw-r--r-- | Makefile | 9 |
1 files changed, 7 insertions, 2 deletions
@@ -1,7 +1,12 @@ -.PHONY: check format +.PHONY: check format check-luacheck check-format -check: +check: check-luacheck check-format + +check-luacheck: luacheck --globals=vis -- init.lua +check-format: + diff init.lua <(lua-format init.lua) >/dev/null + format: lua-format -i init.lua |
