From 5b5a08168193e191baa838610b911840e75f76ea Mon Sep 17 00:00:00 2001 From: xvzc Date: Sun, 6 Mar 2022 17:06:58 +0900 Subject: [PATCH] updated build script --- release | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/release b/release index aee55f0..9ebc3c3 100755 --- a/release +++ b/release @@ -1,4 +1,5 @@ #!/bin/bash -GOOS=darwin GOARCH=amd64 go build ./cmd/... && tar -zcvf spoof-dpi-osx.tar.gz ./spoof-dpi && rm -rf ./spoof-dpi -GOOS=linux GOARCH=amd64 go build ./cmd/... && tar -zcvf spoof-dpi-linux.tar.gz ./spoof-dpi && rm -rf ./spoof-dpi +GOOS=darwin GOARCH=amd64 go build -o . github.com/xvzc/SpoofDPI/cmd/spoof-dpi && tar -zcvf spoof-dpi-osx.tar.gz ./spoof-dpi && rm -rf ./spoof-dpi + +GOOS=linux GOARCH=amd64 go build -o . github.com/xvzc/SpoofDPI/cmd/spoof-dpi && tar -zcvf spoof-dpi-linux.tar.gz ./spoof-dpi && rm -rf ./spoof-dpi