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

Commit

Permalink
chore: build macOS
Browse files Browse the repository at this point in the history
  • Loading branch information
KevinZonda committed Aug 16, 2022
1 parent 40b5709 commit be8e917
Showing 1 changed file with 4 additions and 12 deletions.
16 changes: 4 additions & 12 deletions build.bat
Original file line number Diff line number Diff line change
Expand Up @@ -26,22 +26,12 @@ set GOOS=windows
echo --^> Compiling Windows
go build -ldflags="-s -w -X main.version=%version% -X 'main.timestamp=%timestamp%'" -o release\fgit-windows-amd64.exe .\
set GOOS=darwin
echo --^> Compiling Darwin
go build -ldflags="-s -w -X main.version=%version% -X 'main.timestamp=%timestamp%'" -o release\fgit-darwin-amd64 .\
echo --^> Compiling macOS
go build -ldflags="-s -w -X main.version=%version% -X 'main.timestamp=%timestamp%'" -o release\fgit-macos-amd64 .\
set GOOS=linux
echo --^> Compiling Linux
go build -ldflags="-s -w -X main.version=%version% -X 'main.timestamp=%timestamp%'" -o release\fgit-linux-amd64 .\

set GOARCH=386
echo -^> Compiling 386
set GOOS=windows
echo --^> Compiling Windows
go build -ldflags="-s -w -X main.version=%version% -X 'main.timestamp=%timestamp%'" -o release\fgit-windows-386.exe .\
set GOOS=linux
echo --^> Compiling Linux
go build -ldflags="-s -w -X main.version=%version% -X 'main.timestamp=%timestamp%'" -o release\fgit-linux-386 .\


set GOARCH=arm
echo -^> Compiling ARM
set GOOS=linux
Expand All @@ -53,5 +43,7 @@ echo -^> Compiling ARM64
set GOOS=linux
echo --^> Compiling Linux
go build -ldflags="-s -w -X main.version=%version% -X 'main.timestamp=%timestamp%'" -o release\fgit-linux-arm64 .\
echo --^> Compiling macOS
go build -ldflags="-s -w -X main.version=%version% -X 'main.timestamp=%timestamp%'" -o release\fgit-macos-arm64 .\

pause

0 comments on commit be8e917

Please sign in to comment.