12 lines
313 B

  1. #!/bin/sh
  2. mkdir -p bin
  3. echo "building linux binaries"
  4. GOOS=linux GOARCH=amd64 go build -o bin/blogo-amd64-linux *.go
  5. echo "building windows binaries"
  6. GOOS=windows GOARCH=amd64 go build -o bin/blogo-amd64.exe *.go
  7. echo "building macOS binaries"
  8. GOOS=darwin GOARCH=amd64 go build -o bin/blogo-amd64-darwin *.go