82826ef661
* refactor: moved loading to new module * refactor: check_single_separator * refactor: simplified separator fixing * refactor: tests/ -> lua/tests/ * refactor: moved to nvim_err_writeln for errors * feat: moved config parsing to config.lua * feat: get config directly from config module * feat: added load_all function * tests: config parsing tests * added assert to luacheck globals
14 lines
312 B
Makefile
14 lines
312 B
Makefile
.DEFAULT_GOAL = check
|
|
|
|
lint:
|
|
@luacheck lua/lualine
|
|
@luacheck lua/tests
|
|
|
|
format:
|
|
@for file in `find . -name '*.lua'`;do lua-format $$file -i; done;
|
|
|
|
test:
|
|
@nvim --headless -u lua/tests/minimal_init.lua -c "PlenaryBustedDirectory lua/tests/ { minimal_init = './lua/tests/minimal_init.lua' }"
|
|
|
|
check: lint test
|