Skip to content

Commit 07468fd

Browse files
committed
ci: add install-mac-arm64 to Makefile
A helpful utility for local mac testing.
1 parent 1996b75 commit 07468fd

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

Makefile

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ include fmt.mk
4747
.PHONY: build-renderer version build-icons build-static
4848
.PHONY: lint lint-fix typecheck typecheck-react-native static-check
4949
.PHONY: test test-unit test-integration test-watch test-coverage test-e2e smoke-test
50-
.PHONY: dist dist-mac dist-win dist-linux
50+
.PHONY: dist dist-mac dist-win dist-linux install-mac-arm64
5151
.PHONY: vscode-ext vscode-ext-install
5252
.PHONY: docs-server check-docs-links
5353
.PHONY: storybook storybook-build test-storybook chromatic
@@ -349,6 +349,12 @@ dist-mac-arm64: build ## Build macOS arm64 distributable only
349349
@echo "Building macOS arm64..."
350350
@bun x electron-builder --mac --arm64 --publish never
351351

352+
install-mac-arm64: dist-mac-arm64 ## Build and install macOS arm64 app to /Applications
353+
@echo "Installing mux.app to /Applications..."
354+
@rm -rf /Applications/mux.app
355+
@cp -R release/mac-arm64/mux.app /Applications/
356+
@echo "Installed mux.app to /Applications"
357+
352358
dist-win: build ## Build Windows distributable
353359
@bun x electron-builder --win --publish never
354360

0 commit comments

Comments
 (0)