chore: add Makefile
This commit is contained in:
parent
ebf9a4c766
commit
b2d65fdc40
14
.cspell.json
14
.cspell.json
|
@ -1,17 +1,31 @@
|
|||
{
|
||||
"$schema": "https://raw.githubusercontent.com/streetsidesoftware/cspell/main/cspell.schema.json",
|
||||
"version": "0.2",
|
||||
"useGitignore": true,
|
||||
"ignorePaths": [".git"],
|
||||
"enableGlobDot": true,
|
||||
"words": [
|
||||
"Aire-One",
|
||||
"capi",
|
||||
"constructorfct",
|
||||
"dbus",
|
||||
"drawin",
|
||||
"dryrun",
|
||||
"fatalwarnings",
|
||||
"fullscreen",
|
||||
"hasitem",
|
||||
"JohnnyMorganz",
|
||||
"keygrabber",
|
||||
"ldoc",
|
||||
"luacheck",
|
||||
"luacheckrc",
|
||||
"luadoc",
|
||||
"luarocks",
|
||||
"lunarmodules",
|
||||
"mktemp",
|
||||
"mousebindings",
|
||||
"mousegrabber",
|
||||
"rockspec",
|
||||
"staticfct",
|
||||
"stylua"
|
||||
]
|
||||
|
|
|
@ -13,3 +13,6 @@ insert_final_newline = true
|
|||
|
||||
[*.{json,yaml}]
|
||||
indent_size = 2
|
||||
|
||||
[Makefile]
|
||||
indent_style = tab
|
||||
|
|
|
@ -0,0 +1,21 @@
|
|||
install:
|
||||
luarocks install --local --only-deps awesome-slot-dev-1.rockspec
|
||||
|
||||
luacheck:
|
||||
luacheck .
|
||||
|
||||
stylua:
|
||||
stylua --check .
|
||||
|
||||
ldoc-dryrun:
|
||||
$(eval TMP := $(shell mktemp -d))
|
||||
ldoc --fatalwarnings --dir $(TMP) .
|
||||
rm -rf $(TMP)
|
||||
|
||||
cspell:
|
||||
cspell lint .
|
||||
|
||||
lint: luacheck stylua ldoc-dryrun cspell
|
||||
|
||||
ldoc:
|
||||
ldoc .
|
Loading…
Reference in New Issue