From e86f19ecb1d674c964aa7af3f99f65f40529431d Mon Sep 17 00:00:00 2001 From: andreimarcu Date: Tue, 10 Oct 2017 22:14:53 -0700 Subject: [PATCH] Add linx-cleanup to build script --- build.sh | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) diff --git a/build.sh b/build.sh index 9edffd5..f7a4115 100755 --- a/build.sh +++ b/build.sh @@ -64,3 +64,31 @@ GOOS=windows GOARCH=amd64 go build -o "$name"windows-amd64.exe GOOS=windows GOARCH=386 go build -o "$name"windows-386.exe cd .. + + +cd linx-cleanup +name="../binairies/""$version""/linx-cleanup-v""$version""_" + +GOOS=darwin GOARCH=amd64 go build -o "$name"osx-amd64 + +GOOS=darwin GOARCH=386 go build -o "$name"osx-386 + +GOOS=freebsd GOARCH=amd64 go build -o "$name"freebsd-amd64 + +GOOS=freebsd GOARCH=386 go build -o "$name"freebsd-386 + +GOOS=openbsd GOARCH=amd64 go build -o "$name"openbsd-amd64 + +GOOS=openbsd GOARCH=386 go build -o "$name"openbsd-386 + +GOOS=linux GOARCH=arm go build -o "$name"linux-arm + +GOOS=linux GOARCH=amd64 go build -o "$name"linux-amd64 + +GOOS=linux GOARCH=386 go build -o "$name"linux-386 + +GOOS=windows GOARCH=amd64 go build -o "$name"windows-amd64.exe + +GOOS=windows GOARCH=386 go build -o "$name"windows-386.exe + +cd ..