diff --git a/build-linux.sh b/build-linux.sh deleted file mode 100755 index 5f3e3e5..0000000 --- a/build-linux.sh +++ /dev/null @@ -1,3 +0,0 @@ -#!/bin/sh - -env GOOS=linux GOARCH=amd64 go build -tags debug -o "./build/foundry-debug-linux" . \ No newline at end of file diff --git a/build-release.sh b/build-release.sh new file mode 100755 index 0000000..1808266 --- /dev/null +++ b/build-release.sh @@ -0,0 +1,5 @@ +#!/bin/sh + +env GOOS=darwin GOARCH=amd64 go build -o ./build/foundry-macos-x86_64 +env GOOS=linux GOARCH=amd64 go build -o ./build/foundry-linux-x86_64 +env GOOS=linux GOARCH=arm64 go build -o ./build/foundry-linux-arm64 \ No newline at end of file diff --git a/build.sh b/build.sh index 0edca35..8529fcd 100755 --- a/build.sh +++ b/build.sh @@ -1,10 +1,5 @@ #!/bin/sh - -# env GOOS=darwin GOARCH=amd64 go build -o ./build/foundry-macos-x86_64 -# env GOOS=linux GOARCH=amd64 go build -o ./build/foundry-linux-x86_64 -# env GOOS=linux GOARCH=arm64 go build -o ./build/foundry-linux-arm64 - flags=$@ build_name="foundry"