mirror of
https://github.com/wiggin77/mailrelay.git
synced 2024-11-22 15:23:07 +01:00
17 lines
508 B
Bash
17 lines
508 B
Bash
|
#!/bin/bash
|
||
|
|
||
|
# build Linux
|
||
|
echo building Linux...
|
||
|
env GOOS=linux GOARCH=amd64 go build -o ./build/linux_amd64/mailrelay-linux-amd64
|
||
|
|
||
|
# build Windows
|
||
|
echo building Windows...
|
||
|
env GOOS=windows GOARCH=amd64 go build -o ./build/windows_amd64/mailrelay-windows-amd64.exe
|
||
|
|
||
|
# build OSX
|
||
|
echo building OSX...
|
||
|
env GOOS=darwin GOARCH=amd64 go build -o ./build/osx_amd64/mailrelay-osx-amd64
|
||
|
|
||
|
# build OpenBSD
|
||
|
echo building OpenBSD...
|
||
|
env GOOS=openbsd GOARCH=amd64 go build -o ./build/openbsd_amd64/mailrelay-openbsd-amd64
|