Skip to content

Commit

Permalink
MacOS executable is redundant, removing
Browse files Browse the repository at this point in the history
  • Loading branch information
judahpaul16 committed Apr 29, 2024
1 parent 5189a5a commit 60d29ff
Show file tree
Hide file tree
Showing 5 changed files with 4 additions and 11 deletions.
8 changes: 2 additions & 6 deletions build-scripts/build.bat
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
REM Set GOOS and GOARCH for Windows
SET GOOS=windows
SET GOARCH=amd64
go build -o dist/clear-badge-cache-win.exe
go build -o dist/clear-badge-cache.exe

REM Optional: Reset environment variables (not strictly necessary)
SET GOOS=
Expand All @@ -12,13 +12,9 @@ SET GOARCH=
REM Set GOOS and GOARCH for Linux
SET GOOS=linux
SET GOARCH=amd64
go build -o dist/clear-badge-cache-linux.sh
go build -o dist/clear-badge-cache.sh

REM Optional: Reset environment variables (not strictly necessary)
SET GOOS=
SET GOARCH=

REM Set GOOS and GOARCH for macOS
SET GOOS=darwin
SET GOARCH=amd64
go build -o dist/clear-badge-cache-mac.sh
7 changes: 2 additions & 5 deletions build-scripts/build.sh
Original file line number Diff line number Diff line change
@@ -1,10 +1,7 @@
#!/bin/bash

# Set GOOS and GOARCH for Linux
GOOS=linux GOARCH=amd64 go build -o dist/clear-badge-cache-linux.sh

# Set GOOS and GOARCH for macOS
GOOS=darwin GOARCH=amd64 go build -o dist/clear-badge-cache-mac.sh
GOOS=linux GOARCH=amd64 go build -o dist/clear-badge-cache.sh

# Set GOOS and GOARCH for Windows
GOOS=windows GOARCH=amd64 go build -o dist/clear-badge-cache-win.exe
GOOS=windows GOARCH=amd64 go build -o dist/clear-badge-cache.exe
Binary file removed dist/clear-badge-cache-mac.sh
Binary file not shown.
File renamed without changes.
File renamed without changes.

0 comments on commit 60d29ff

Please sign in to comment.