summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoraktersnurra <grydholm@kth.se>2022-04-12 21:10:17 +0200
committeraktersnurra <grydholm@kth.se>2022-04-12 21:10:17 +0200
commitc561be2e3e71c226985640320559e3bf5e1c7034 (patch)
tree05139cb5e6a42d6e700e4dc440c5a57c27f164f9
parent9a9abafe16059dfd86c691efe4827d3767cada33 (diff)
fix(make): bugsfennel-migration
-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