Point to defun.work to grab sources.
authorOleksandr Gavenko <gavenkoa@gmail.com>
Wed, 23 Dec 2015 12:29:27 +0200
changeset 60 387dd3541a06
parent 59 92285d7eb0c5
child 61 cba303c0ad38
Point to defun.work to grab sources.
Makefile
--- a/Makefile	Mon Dec 21 18:18:56 2015 +0200
+++ b/Makefile	Wed Dec 23 12:29:27 2015 +0200
@@ -61,13 +61,17 @@
 endif
 
 .PHONY: deploy
-deploy: deploy2defun-web deploy2sf-web deploy2sf-hg
+deploy: deploy2defun-web deploy2defun-hg deploy2sf-web deploy2sf-hg
 
 # Will be accessible via: http://tips.defun.work/frame.html
 .PHONY: deploy2defun-web
 deploy2defun-web: html
 	rsync --delete -avP -e ssh tips-html/ user@vps:/srv/www/tips/
 
+.PHONY: deploy2defun-hg
+deploy2defun-hg:
+	hg push ssh://user@hg.defun.work//srv/hg/tips || [ $$? = 1 ]
+
 # Will be accessible via: http://gavenkoa.users.sourceforge.net/tips-html/frame.html
 .PHONY: deploy2sf-web
 deploy2sf-web: html