Skip to content
This repository was archived by the owner on Jun 7, 2024. It is now read-only.

Commit be8e917

Browse files
committed
chore: build macOS
1 parent 40b5709 commit be8e917

File tree

1 file changed

+4
-12
lines changed

1 file changed

+4
-12
lines changed

build.bat

Lines changed: 4 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -26,22 +26,12 @@ set GOOS=windows
2626
echo --^> Compiling Windows
2727
go build -ldflags="-s -w -X main.version=%version% -X 'main.timestamp=%timestamp%'" -o release\fgit-windows-amd64.exe .\
2828
set GOOS=darwin
29-
echo --^> Compiling Darwin
30-
go build -ldflags="-s -w -X main.version=%version% -X 'main.timestamp=%timestamp%'" -o release\fgit-darwin-amd64 .\
29+
echo --^> Compiling macOS
30+
go build -ldflags="-s -w -X main.version=%version% -X 'main.timestamp=%timestamp%'" -o release\fgit-macos-amd64 .\
3131
set GOOS=linux
3232
echo --^> Compiling Linux
3333
go build -ldflags="-s -w -X main.version=%version% -X 'main.timestamp=%timestamp%'" -o release\fgit-linux-amd64 .\
3434

35-
set GOARCH=386
36-
echo -^> Compiling 386
37-
set GOOS=windows
38-
echo --^> Compiling Windows
39-
go build -ldflags="-s -w -X main.version=%version% -X 'main.timestamp=%timestamp%'" -o release\fgit-windows-386.exe .\
40-
set GOOS=linux
41-
echo --^> Compiling Linux
42-
go build -ldflags="-s -w -X main.version=%version% -X 'main.timestamp=%timestamp%'" -o release\fgit-linux-386 .\
43-
44-
4535
set GOARCH=arm
4636
echo -^> Compiling ARM
4737
set GOOS=linux
@@ -53,5 +43,7 @@ echo -^> Compiling ARM64
5343
set GOOS=linux
5444
echo --^> Compiling Linux
5545
go build -ldflags="-s -w -X main.version=%version% -X 'main.timestamp=%timestamp%'" -o release\fgit-linux-arm64 .\
46+
echo --^> Compiling macOS
47+
go build -ldflags="-s -w -X main.version=%version% -X 'main.timestamp=%timestamp%'" -o release\fgit-macos-arm64 .\
5648

5749
pause

0 commit comments

Comments
 (0)