Skip to content

Commit 9578b3d

Browse files
committed
🤖 Fix: Remove build dependency from arch-specific targets
dist-mac already depends on build, so dist-mac-x64/arm64 don't need it. This prevents building 3 times (once for dist-mac, twice in parallel for the arch targets) which would race writing to dist/.
1 parent f15de18 commit 9578b3d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Makefile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -165,11 +165,11 @@ dist: build ## Build distributable packages
165165
dist-mac: build ## Build macOS distributables (parallel x64 + arm64)
166166
@$(MAKE) -j2 dist-mac-x64 dist-mac-arm64
167167

168-
dist-mac-x64: build ## Build macOS x64 distributable
168+
dist-mac-x64: ## Build macOS x64 distributable (use via dist-mac)
169169
@echo "Building macOS x64..."
170170
@bun x electron-builder --mac --x64 --publish never
171171

172-
dist-mac-arm64: build ## Build macOS arm64 distributable
172+
dist-mac-arm64: ## Build macOS arm64 distributable (use via dist-mac)
173173
@echo "Building macOS arm64..."
174174
@bun x electron-builder --mac --arm64 --publish never
175175

0 commit comments

Comments
 (0)