lualine.nvim/Makefile
Shadman 4042e837f8
chore: use stylua for formating
* Switch to stylua for formating

* Change lua-format ignore to stylua ignore.

* Add workflow for formating with stylua
2021-09-04 00:20:34 +06:00

15 lines
316 B
Makefile

.DEFAULT_GOAL = check
lint:
@luacheck lua/lualine
@luacheck lua/tests
@luacheck examples/
format:
@stylua --config-path=.stylua.toml lua/ examples/
test:
@nvim --headless -u lua/tests/minimal_init.lua -c "PlenaryBustedDirectory lua/tests/ { minimal_init = './lua/tests/minimal_init.lua' }"
check: lint test