25 lines
348 B
Makefile
25 lines
348 B
Makefile
|
install:
|
||
|
luarocks --local build
|
||
|
|
||
|
luacheck:
|
||
|
luacheck .
|
||
|
|
||
|
stylua:
|
||
|
stylua --check .
|
||
|
|
||
|
ldoc-dryrun:
|
||
|
$(eval TMP := $(shell mktemp -d))
|
||
|
ldoc --fatalwarnings --dir $(TMP) .
|
||
|
rm -rf $(TMP)
|
||
|
|
||
|
cspell:
|
||
|
cspell lint .
|
||
|
|
||
|
lint-rockspec:
|
||
|
luarocks lint awesome-battery_widget-dev-1.rockspec
|
||
|
|
||
|
lint: luacheck stylua ldoc-dryrun cspell lint-rockspec
|
||
|
|
||
|
ldoc:
|
||
|
ldoc .
|