2021-05-05 18:04:16 +00:00
|
|
|
.DEFAULT_GOAL = check
|
|
|
|
|
|
|
|
lint:
|
|
|
|
@luacheck lua/lualine
|
2021-05-09 21:11:18 +00:00
|
|
|
@luacheck lua/tests
|
2021-08-13 19:34:33 +00:00
|
|
|
@luacheck examples/
|
2021-05-05 18:04:16 +00:00
|
|
|
|
|
|
|
format:
|
2021-09-03 18:20:34 +00:00
|
|
|
@stylua --config-path=.stylua.toml lua/ examples/
|
2021-05-05 18:04:16 +00:00
|
|
|
|
|
|
|
test:
|
2021-05-09 21:11:18 +00:00
|
|
|
@nvim --headless -u lua/tests/minimal_init.lua -c "PlenaryBustedDirectory lua/tests/ { minimal_init = './lua/tests/minimal_init.lua' }"
|
2021-05-05 18:04:16 +00:00
|
|
|
|
2021-09-14 06:58:46 +00:00
|
|
|
docgen:
|
|
|
|
@bash ./scripts/docgen.sh
|
|
|
|
|
2021-05-05 18:04:16 +00:00
|
|
|
check: lint test
|