summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Makefile9
1 files changed, 4 insertions, 5 deletions
diff --git a/Makefile b/Makefile
index 4b37a26..b4e3caa 100644
--- a/Makefile
+++ b/Makefile
@@ -1,10 +1,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"
+ $(which nvim >/dev/null 2>&1 || @echo "Neovim not installed!" && exit 1)
+ $(hich luarocks >/dev/null 2>&1 || @echo "Luarocks not installed!" && exit 1)
+ $(huarocks list | @grep "fennel" || @echo "fennel is not installed" && exit 1)
+ nvim --headless +qa && nvim --headless -c "autocmd User PackerComplete quitall" -c "PackerSync"
.PHONY: install