diff options
| author | Florian Fischer <florian.fischer@muhq.space> | 2024-02-29 17:21:49 +0100 |
|---|---|---|
| committer | Florian Fischer <florian.fischer@muhq.space> | 2024-02-29 17:21:49 +0100 |
| commit | 7eea122ccf24efc9de55e2d9bf0dd69f0e18e50e (patch) | |
| tree | dea88f710fa35ed524d8c34765508f8beb165291 /Makefile | |
| download | vis-build-7eea122ccf24efc9de55e2d9bf0dd69f0e18e50e.tar.gz vis-build-7eea122ccf24efc9de55e2d9bf0dd69f0e18e50e.zip | |
initial commit
Diffstat (limited to 'Makefile')
| -rw-r--r-- | Makefile | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/Makefile b/Makefile new file mode 100644 index 0000000..816596e --- /dev/null +++ b/Makefile @@ -0,0 +1,14 @@ +.PHONY: check format check-luacheck check-format + +LUA_FILES := $(shell find -name "*.lua") + +check: check-luacheck check-format + +check-luacheck: + luacheck --globals=vis -- $(LUA_FILES) + +check-format: + set -e; for lf in $(LUA_FILES); do tools/check-format "$${lf}"; done + +format: + lua-format -i $(LUA_FILES) |
