vpn-status/Makefile

11 lines
303 B
Makefile

vpn-status: server.go
go build
deploy: vpn-status
strip vpn-status
rsync --exclude 'assets/tinc-graph.*' -avcz -e ssh nodes.json html assets vpn-status deploy@higgsboson.tk:/srv/http/vpn-status
ssh -t higgsboson.tk "sudo systemctl restart vpn-status"
.PHONY: clean
clean:
rm -rf vpn-status $(OBJ)