blob: a43dff1a2f7204e07b1058a18ccc952c8d2d40f5 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
.PHONY: check format check-luacheck check-format
# bash's process substitution is used for check-format
SHELL := /bin/bash
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
|