add Makefile for deployment

This commit is contained in:
Jörg Thalheim 2013-10-04 00:41:25 +02:00
parent 1364a13a8d
commit 02a191a6e1
1 changed files with 10 additions and 0 deletions

10
Makefile Normal file
View File

@ -0,0 +1,10 @@
vpn-status: server.go
go build
deploy: vpn-status
strip vpn-status
rsync -avcz -e ssh nodes.json html assets vpn-status higgsboson.tk:/home/joerg/vpn-status
.PHONY: clean
clean:
rm -rf vpn-status $(OBJ)