aboutsummaryrefslogblamecommitdiffstats
path: root/Makefile
blob: 0fcc468e135bce69df52b096beadc5610ab920a2 (plain) (tree)
1
2
3
4
5
6
7
8
9
10

                                                
                              






                                              
                                                                    


                                  
.PHONY: check format check-luacheck check-format

LUA_FILES := $(wildcard *.lua)

check: check-luacheck check-format

check-luacheck:
	luacheck --globals=vis -- $(LUA_FILES)

check-format:
	for lf in $(LUA_FILES); do tools/check-format "$${lf}"; done

format:
	lua-format -i $(LUA_FILES)