makefile: build remote binarty for linux
@@ -3,5 +3,5 @@ protoc:
protoc --gogofaster_out=plugins=grpc:. -I=. cmd/graph/rpc.proto
upload:
- cd cmd/graph && go build -o main
+ cd cmd/graph && env GOOS=linux GOARCH=amd64 go build -o main
rsync -avz cmd/graph/main root@104.248.44.250:/root
