Parcourir la source

Modificare Makefile si README.md

Christian Marian - Work Dell il y a 1 mois
Parent
commit
f736aa364c
1 fichiers modifiés avec 21 ajouts et 0 suppressions
  1. 21 0
      cmds/webservice/Makefile

+ 21 - 0
cmds/webservice/Makefile

@@ -11,9 +11,30 @@ build:
 run: build 
 	@cd $(BUILD_DIR) && ./$(BINARY) --run $(CFG_FILE)
 
+
+commit:
+	
+	@read -p "Enter commit message:" msg; \
+	git add . && git status && sleep 1 && git commit -m "$$msg"
+
+sync: pull push
+
+push:
+	@git push origin master
+
+pull:
+	@git pull --rebase origin master
+
+all: commit sync
+
 help:
 	@clear
 	@echo "Comenzi disponibile: "
 	@echo "		build - construieste executabilul"
 	@echo "		run - executa programul"
+	@echo "     pull -  ia ultimele modificare din repository"
+	@echo "     commit - adauga in repository modificarile"
+	@echo "     push -  pune toate modificarile in repository"
+	@echo "     all  -  commit pull push"
+