Skip to content

Commit 0bc38fb

Browse files
committed
chore: add note about setting env for windows
1 parent 696179f commit 0bc38fb

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

scripts/build.sh

+3-3
Original file line numberDiff line numberDiff line change
@@ -28,13 +28,13 @@ mkdir -p linux/arm64
2828
GOOS=linux GOARCH=arm64 go build -ldflags='-s -w' -o linux/arm64/app-builder ..
2929

3030
mkdir -p win/ia32
31-
# set GOARCH=386
31+
# $env:GOARCH='386'; go build -o win/ia32/app-builder.exe ..
3232
GOOS=windows GOARCH=386 go build -o win/ia32/app-builder.exe ..
3333

3434
mkdir -p win/x64
35-
# set GOARCH=amd64
35+
# $env:GOARCH='amd64'; go build -o win/x64/app-builder.exe ..
3636
GOOS=windows GOARCH=amd64 go build -o win/x64/app-builder.exe ..
3737

3838
mkdir -p win/arm64
39-
# set GOARCH=arm64
39+
# $env:GOARCH='arm64'; go build -o win/arm64/app-builder.exe ..
4040
GOOS=windows GOARCH=arm64 go build -o win/arm64/app-builder.exe ..

0 commit comments

Comments
 (0)