lualine.nvim/Makefile

14 lines
312 B
Makefile
Raw Normal View History

.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