diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..567609b --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +build/ diff --git a/build.sh b/build.sh new file mode 100755 index 0000000..a3bc016 --- /dev/null +++ b/build.sh @@ -0,0 +1,19 @@ +mkdir -p ./build/amd64 +mkdir -p ./build/i386 + +export GOOS=linux +export GOARCH=amd64 +go build +mv ./boi ./build/amd64/boi +export GOARCH=386 +go build +mv ./boi ./build/i386/boi + +export GOOS=windows +export GOARCH=amd64 +go build +mv ./boi.exe ./build/amd64/boi.exe +export GOARCH=386 +go build +mv ./boi.exe ./build/i386/boi.exe +