summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorGustaf Rydholm <gustaf.rydholm@gmail.com>2022-04-12 21:15:44 +0200
committerGustaf Rydholm <gustaf.rydholm@gmail.com>2022-04-12 21:15:44 +0200
commit82779fc7fbb42f5f97bf5840d3248ad84a63c095 (patch)
tree7d8327aa0f7eeea7fed99b69c554eb19c671ef29 /Makefile
parent4ec6fb5118f95f00dbacdcf0470e0f9fffd86abc (diff)
parentc561be2e3e71c226985640320559e3bf5e1c7034 (diff)
feat(fennel): migration
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile9
1 files changed, 9 insertions, 0 deletions
diff --git a/Makefile b/Makefile
new file mode 100644
index 0000000..b4e3caa
--- /dev/null
+++ b/Makefile
@@ -0,0 +1,9 @@
+.POSIX:
+
+install:
+ $(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