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