Skip to content

Commit

Permalink
added build for x64, arm,arm64
Browse files Browse the repository at this point in the history
  • Loading branch information
Aleksandr committed Sep 29, 2023
1 parent efcd654 commit 9af5704
Showing 1 changed file with 12 additions and 2 deletions.
14 changes: 12 additions & 2 deletions make.cmd
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,17 @@ REM

set GOOS=windows
set GOARCH=386

echo Building (Windows_x86) dotnetversionsgo.exe
go build -o bin/x86/dotnetversionsgo.exe -ldflags "-s -w"

set GOARCH=amd64
echo Building (Windows_x64) dotnetversionsgo.exe
go build -o bin/x64/dotnetversionsgo.exe -ldflags "-s -w"

set GOARCH=arm
echo Building (Windows_arm) dotnetversionsgo.exe
go build -o bin/arm/dotnetversionsgo.exe -ldflags "-s -w"

go build -o bin/dotnetversionsgo.exe -ldflags "-s -w"
set GOARCH=arm64
echo Building (Windows_arm64) dotnetversionsgo.exe
go build -o bin/arm64/dotnetversionsgo.exe -ldflags "-s -w"

0 comments on commit 9af5704

Please sign in to comment.