# $ErrorActionPreference = 'SilentlyContinue' del houston.zip $Env:GOOS="linux" $Env:GOARCH="amd64" go build -ldflags="-s -w" . cp houston .\replacer\houston cp config.json .\replacer\config.json cd replacer go build -ldflags="-s -w" . Compress-Archive -Path replacer -DestinationPath houston.zip -Force Compress-Archive -Path config.json -Update -DestinationPath houston.zip Compress-Archive -Path houston -Update -DestinationPath houston.zip del houston del config.json del replacer mv houston.zip ..\houston.zip cd ..