diff options
author | Gustaf Rydholm <gustaf.rydholm@gmail.com> | 2022-04-12 20:51:17 +0200 |
---|---|---|
committer | Gustaf Rydholm <gustaf.rydholm@gmail.com> | 2022-04-12 20:51:17 +0200 |
commit | 4ea0d778ae1e6ef14c85aa833484830c17d33c99 (patch) | |
tree | b3283b1d67d9d1406caba74153ab6531dcf8810c | |
parent | 25aa9cf364775086ff285f1291dc1644fc9920b4 (diff) |
fix(setup): mv to Makefile
-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" |