-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathMakefile
More file actions
38 lines (31 loc) · 904 Bytes
/
Makefile
File metadata and controls
38 lines (31 loc) · 904 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
.PHONY: all install clean update update-neovim help
SCRIPTS_DIR := scripts
# Default target
all: help
# Install LuaRocks
install:
@echo "Installing LuaRocks..."
@./$(SCRIPTS_DIR)/install_luarocks.sh
@echo "Installing golang..."
@./$(SCRIPTS_DIR)/install_go.sh
@echo "Installing npm..."
@./${SCRIPTS_DIR}/install_npm.sh
update:
@echo "Updating All Installations..."
@./${SCRIPTS_DIR}/update.sh
# Update Neovim
update-neovim:
@./update_neovim.sh
# Clean up temporary files
clean:
@./$(SCRIPTS_DIR)/clean.sh
# Help message
help:
@echo "LuaRocks Installer Makefile"
@echo ""
@echo "Targets:"
@echo " make install - Install latest version of LuaRocks"
@echo " make clean - Clean up temporary files"
@echo " make update - Update installations"
@echo " make update-neovim - Update Neovim to latest version"
@echo " make help - Show this help message"