From 383517677032aeecef4d32939ff2d9136664ca94 Mon Sep 17 00:00:00 2001 From: aktersnurra Date: Mon, 25 Apr 2022 22:51:23 +0200 Subject: fix: replace make with install script --- Makefile | 9 --------- README.md | 2 +- install.sh | 6 ++++++ 3 files changed, 7 insertions(+), 10 deletions(-) delete mode 100644 Makefile create mode 100755 install.sh diff --git a/Makefile b/Makefile deleted file mode 100644 index 1899282..0000000 --- a/Makefile +++ /dev/null @@ -1,9 +0,0 @@ -.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/README.md b/README.md index 5cbc231..b8c32c5 100644 --- a/README.md +++ b/README.md @@ -12,7 +12,7 @@ fnm and node for lsp Wonky non-deterministic performance currently. -`make install` +`./install` # Structure diff --git a/install.sh b/install.sh new file mode 100755 index 0000000..b64693b --- /dev/null +++ b/install.sh @@ -0,0 +1,6 @@ +#!/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" >/dev/null 2>&1 || (echo "fennel is not installed" && exit 1) +nvim --headless +qa && nvim --headless -c "autocmd User PackerComplete quitall" -- cgit v1.2.3-70-g09d2