summaryrefslogtreecommitdiff
path: root/Makefile
blob: 18992825463c6e1965907f8a8fb102f7ae0fc467 (plain)
1
2
3
4
5
6
7
8
9
.POSIX:

install:
		$(which nvim >/dev/null 2>&1 || @echo "Neovim not installed!" && exit 1)
		$(which luarocks >/dev/null 2>&1 || @echo "Luarocks not installed!" && exit 1)
		$(luarocks list | @grep "fennel" || @echo "fennel is not installed" && exit 1)
		nvim --headless +qa && nvim --headless -c "autocmd User PackerComplete quitall" -c "PackerSync"

.PHONY: install