diff options
-rw-r--r-- | Makefile | 10 | ||||
-rw-r--r-- | setup.sh | 7 |
2 files changed, 10 insertions, 7 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 diff --git a/setup.sh b/setup.sh deleted file mode 100644 index ab86f04..0000000 --- a/setup.sh +++ /dev/null @@ -1,7 +0,0 @@ -#!/bin/sh - -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" |