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 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 Makefile (limited to 'Makefile') 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 -- cgit v1.2.3-70-g09d2 From 9a9abafe16059dfd86c691efe4827d3767cada33 Mon Sep 17 00:00:00 2001 From: Gustaf Rydholm Date: Tue, 12 Apr 2022 20:54:19 +0200 Subject: fix(makefile): indent --- Makefile | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'Makefile') diff --git a/Makefile b/Makefile index 03ef64a..4b37a26 100644 --- a/Makefile +++ b/Makefile @@ -1,10 +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" + 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 -- cgit v1.2.3-70-g09d2 From c561be2e3e71c226985640320559e3bf5e1c7034 Mon Sep 17 00:00:00 2001 From: aktersnurra Date: Tue, 12 Apr 2022 21:10:17 +0200 Subject: fix(make): bugs --- Makefile | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) (limited to 'Makefile') diff --git a/Makefile b/Makefile index 4b37a26..b4e3caa 100644 --- a/Makefile +++ b/Makefile @@ -1,10 +1,9 @@ .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" + $(which nvim >/dev/null 2>&1 || @echo "Neovim not installed!" && exit 1) + $(hich luarocks >/dev/null 2>&1 || @echo "Luarocks not installed!" && exit 1) + $(huarocks list | @grep "fennel" || @echo "fennel is not installed" && exit 1) + nvim --headless +qa && nvim --headless -c "autocmd User PackerComplete quitall" -c "PackerSync" .PHONY: install -- cgit v1.2.3-70-g09d2