diff options
| author | Florian Fischer <florian.fischer@muhq.space> | 2021-08-02 22:18:31 +0200 |
|---|---|---|
| committer | Florian Fischer <florian.fischer@muhq.space> | 2021-08-02 22:18:31 +0200 |
| commit | 85e8aced46fecc5acbdf96bac5dc3af6217ba16e (patch) | |
| tree | a0e2b3b6894b7ac4421fb900ddd65f3f1c228d3a /Makefile | |
| parent | 8ed38b8d12679c1ea9f71edcf8f8c2511b4cd5fb (diff) | |
| download | vis-lspc-85e8aced46fecc5acbdf96bac5dc3af6217ba16e.tar.gz vis-lspc-85e8aced46fecc5acbdf96bac5dc3af6217ba16e.zip | |
extract bindings into a seperate source file
Diffstat (limited to 'Makefile')
| -rw-r--r-- | Makefile | 8 |
1 files changed, 5 insertions, 3 deletions
@@ -1,15 +1,17 @@ .PHONY: check format check-luacheck check-format +LUA_FILES := $(shell find -name "*.lua" -not -path "./json.lua") + # bash's process substitution is used for check-format SHELL := /bin/bash check: check-luacheck check-format check-luacheck: - luacheck --globals=vis -- init.lua + luacheck --globals=vis -- $(LUA_FILES) check-format: - diff init.lua <(lua-format init.lua) >/dev/null + for lf in $(LUA_FILES); do diff $$lf <(lua-format $$lf) >/dev/null; done format: - lua-format -i init.lua + lua-format -i $(LUA_FILES) |
