coordinator: coordinator.go | |
GOOS=linux go build --tags=extdep -o coordinator . | |
# After "make upload", either reboot the machine, or ssh to it and: | |
# sudo systemctl restart gobuild.service | |
# And watch its logs with: | |
# sudo journalctl -f -u gobuild.service | |
upload: coordinator | |
cat coordinator | (cd ../upload && go run --tags=extdep upload.go --public go-builder-data/coordinator) |