You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 

12 lines
313 B

#!/bin/sh
mkdir -p bin
echo "building linux binaries"
GOOS=linux GOARCH=amd64 go build -o bin/blogo-amd64-linux *.go
echo "building windows binaries"
GOOS=windows GOARCH=amd64 go build -o bin/blogo-amd64.exe *.go
echo "building macOS binaries"
GOOS=darwin GOARCH=amd64 go build -o bin/blogo-amd64-darwin *.go