luncher/Makefile

16 lines
356 B
Makefile

all:
pdc --skip-unknown src Luncher.pdx
preprocess:
find ./src -name '*.lua2p' | xargs -L1 -I %% lua lib/preprocess-cl.lua %%
check: preprocess
stylua -c --indent-type Spaces src/
luacheck -d --codes src/ --exclude-files src/test/
test: check
(cd src; find ./test -name '*.lua' | xargs -L1 -I %% lua %% -v)
lint:
stylua --indent-type Spaces src/