11 lines
271 B
Makefile
11 lines
271 B
Makefile
vpn-status: server.go
|
|
go build
|
|
deploy: vpn-status
|
|
strip vpn-status
|
|
rsync -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)
|