-
Notifications
You must be signed in to change notification settings - Fork 7
/
Makefile
21 lines (20 loc) · 1.03 KB
/
Makefile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
.PHONY: install
install:
@echo "Installing Packer\n"
@nvim -u ./init.lua --headless +'autocmd User PackerComplete sleep 100m | qall' +PackerInstall
@nvim -u ./init.lua --headless +'autocmd User PackerComplete sleep 100m | qall' +PackerSync
@echo "*******************************************************************"
@echo "All done!"
@echo "Be sure to checkout the helpful links in the README"
@echo "GitHub: https://github.com/josemarluedke/nvimfiles"
@echo "*******************************************************************"
.PHONY: update
update:
@echo "Updating to latest and greatest..\n"
@(which git-up > /dev/null && git-up) || git pull origin main
@echo "Updating Packer\n"
@nvim -u ./init.lua --headless +'autocmd User PackerComplete sleep 100m | qall' +PackerInstall
@nvim -u ./init.lua --headless +'autocmd User PackerComplete sleep 100m | qall' +PackerSync
@echo "*******************************************************************"
@echo "Finished"
@echo "*******************************************************************"