b97a41daa36c

Deploy
[view raw] [browse files]
author Steve Losh <steve@stevelosh.com>
date Thu, 04 Aug 2016 18:15:36 +0000
parents dca223737d7e
children bf323f38c64b
branches/tags (none)
files Makefile

Changes

--- a/Makefile	Thu Aug 04 17:45:05 2016 +0000
+++ b/Makefile	Thu Aug 04 18:15:36 2016 +0000
@@ -1,4 +1,4 @@
-.PHONY:
+.PHONY: deploy
 
 lisps := $(shell ffind '\.(asd|lisp|ros)$$')
 
@@ -7,3 +7,10 @@
 
 build/silt: $(lisps)
 	ros build build/silt.ros
+
+/opt/silt/silt: build/silt
+	cp build/silt /opt/silt/silt
+
+deploy:
+	rsync --exclude=build/silt --exclude=.hg -avz . silt:/home/sjl/silt2
+	ssh silt make -C /home/sjl/silt2 /opt/silt/silt