From 4ea0d778ae1e6ef14c85aa833484830c17d33c99 Mon Sep 17 00:00:00 2001 From: Gustaf Rydholm Date: Tue, 12 Apr 2022 20:51:17 +0200 Subject: fix(setup): mv to Makefile --- Makefile | 10 ++++++++++ setup.sh | 7 ------- 2 files changed, 10 insertions(+), 7 deletions(-) create mode 100644 Makefile delete mode 100644 setup.sh 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" -- cgit v1.2.3-70-g09d2