summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorGustaf Rydholm <gustaf.rydholm@gmail.com>2022-04-12 20:51:17 +0200
committerGustaf Rydholm <gustaf.rydholm@gmail.com>2022-04-12 20:51:17 +0200
commit4ea0d778ae1e6ef14c85aa833484830c17d33c99 (patch)
treeb3283b1d67d9d1406caba74153ab6531dcf8810c /Makefile
parent25aa9cf364775086ff285f1291dc1644fc9920b4 (diff)
fix(setup): mv to Makefile
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile10
1 files changed, 10 insertions, 0 deletions
diff --git a/Makefile b/Makefile
new file mode 100644
index 0000000..03ef64a
--- /dev/null
+++ b/Makefile
@@ -0,0 +1,10 @@
+.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