1 2 3 4 5 6 7 8 9 10 11 12
.PHONY: check format check-luacheck check-format 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