Chore: added makefile for regular tasks
This commit is contained in:
18
makefile
Normal file
18
makefile
Normal file
@@ -0,0 +1,18 @@
|
|||||||
|
NVIM_CONFIG=~/.config/nvim/#
|
||||||
|
|
||||||
|
default : print-help
|
||||||
|
help : print-help
|
||||||
|
|
||||||
|
print-help :
|
||||||
|
@echo -e "Help!?!?"
|
||||||
|
@echo -e "Use 'make instal' to instal this config to your home config"
|
||||||
|
@echo -e "Use 'make code' to get code from your config to this project"
|
||||||
|
@echo -e "ConfigPath=$(NVIM_CONFIG)"
|
||||||
|
|
||||||
|
instal :
|
||||||
|
@echo -e "Iinstalling to $(NVIM_CONFIG)"
|
||||||
|
|
||||||
|
code :
|
||||||
|
@echo -e "Getting code from $(NVIM_CONFIG)"
|
||||||
|
cp $(NVIM_CONFIG)*.lua ./
|
||||||
|
cp -r $(NVIM_CONFIG)lua ./
|
||||||
Reference in New Issue
Block a user