lualine.nvim/Makefile
Hubert Pelczarski 8572db014a
testing (#127)
* Add testing setup + CI
* Add tests for components and utils funtions

Co-authored-by: shadmansaleh <shadmansaleh3@gmail.com>
2021-05-06 00:04:16 +06:00

14 lines
294 B
Makefile

.DEFAULT_GOAL = check
lint:
@luacheck lua/lualine
@luacheck tests
format:
@for file in `find -name '*.lua'`;do lua-format $$file -i; done;
test:
@nvim --headless -u tests/minimal_init.lua -c "PlenaryBustedDirectory tests/ { minimal_init = './tests/minimal_init.lua' }"
check: lint test