diff --git a/build.sh b/build.sh index 5a188d2..0adb58d 100755 --- a/build.sh +++ b/build.sh @@ -1,15 +1,15 @@ #!/bin/sh -export GOARCH="amd64" - -go build cp -r root root_tmp +mkdir -p root_tmp/usr/local/bin + +export GOARCH="amd64" +go build mv rttys root_tmp/usr/local/bin tar zcvf rttys-x64.tar.gz -C root_tmp/ etc usr export GOARCH="386" - go build mv rttys root_tmp/usr/local/bin tar zcvf rttys.tar.gz -C root_tmp/ etc usr