mirror of
https://github.com/PretendoNetwork/maryo.git
synced 2024-06-12 17:47:37 -04:00
added a buildscript
This commit is contained in:
parent
2e13a353cc
commit
13ab1d5363
4
.gitignore
vendored
4
.gitignore
vendored
|
@ -1,5 +1,7 @@
|
||||||
maryo
|
maryo
|
||||||
|
maryo-*
|
||||||
maryo.exe
|
maryo.exe
|
||||||
|
|
||||||
config.json
|
config.json
|
||||||
|
|
||||||
.vscode
|
.vscode
|
||||||
|
|
19
build.sh
Executable file
19
build.sh
Executable file
|
@ -0,0 +1,19 @@
|
||||||
|
#!/bin/bash
|
||||||
|
echo "compiling maryo..."
|
||||||
|
echo "target: windows i386.."
|
||||||
|
env GOOS=windows GOARCH=386 go build -o "maryo-windows-i386.exe"
|
||||||
|
echo "target: windows amd64.."
|
||||||
|
env GOOS=windows GOARCH=amd64 go build -o "maryo-windows-amd64.exe"
|
||||||
|
echo "target: linux arm.."
|
||||||
|
env GOOS=linux GOARCH=arm go build -o "maryo-linux-arm"
|
||||||
|
echo "target: linux arm64.."
|
||||||
|
env GOOS=linux GOARCH=arm64 go build -o "maryo-linux-arm64"
|
||||||
|
echo "target: linux i386.."
|
||||||
|
env GOOS=linux GOARCH=386 go build -o "maryo-linux-i386"
|
||||||
|
echo "target: linux amd64.."
|
||||||
|
env GOOS=linux GOARCH=amd64 go build -o "maryo-linux-amd64"
|
||||||
|
echo "target: darwin i386.."
|
||||||
|
env GOOS=darwin GOARCH=386 go build -o "maryo-darwin-i386"
|
||||||
|
echo "target: darwin amd64.."
|
||||||
|
env GOOS=darwin GOARCH=amd64 go build -o "maryo-darwin-amd64"
|
||||||
|
echo "finished compiling maryo for 3 OSes across 4 different architectures..."
|
Loading…
Reference in a new issue