Skip to content

feat: add dev-install script for macOS#74

Merged
graydawnc merged 1 commit intomainfrom
feat/dev-install-script
Apr 14, 2026
Merged

feat: add dev-install script for macOS#74
graydawnc merged 1 commit intomainfrom
feat/dev-install-script

Conversation

@graydawnc
Copy link
Copy Markdown
Collaborator

@graydawnc graydawnc commented Apr 14, 2026

Summary

Add a one-shot developer workflow for building and installing Spool from source on Apple Silicon macs, so contributors can quickly smoke-test a production build without copy-pasting commands.

  • scripts/dev-install-mac.sh — builds via pnpm -F @spool/app build:mac, quits any running Spool, replaces /Applications/Spool.app, strips the com.apple.quarantine attribute (unsigned local builds would otherwise be blocked by Gatekeeper), then launches the app.
  • pnpm dev:install:mac shortcut added to the root package.json.
  • CONTRIBUTING.md gets a short section explaining when to use it.

Design notes

  • Platform-specific naming on purpose. The script is explicitly dev-install-mac.sh rather than a cross-platform script with uname branching. All current contributors are on macOS; a sibling dev-install-linux.sh can be added when we onboard a Linux developer, without touching the mac path.
  • Apple Silicon only. Matches the existing build:mac target (--arm64). Fails fast with a clear error on Intel or non-Darwin.
  • Not wired into CI — this is a local DX tool, not a release artifact. The production installer for end users still lives at packages/landing/public/install.sh and is unaffected.

Test plan

  • Run pnpm dev:install:mac on a clean checkout on an M-series mac
  • Verify /Applications/Spool.app is replaced and launches without a Gatekeeper prompt
  • Re-run with Spool already open — it should quit and relaunch cleanly

🤖 Generated with Claude Code

Add scripts/dev-install-mac.sh and a pnpm dev:install:mac shortcut so
contributors can build a local production bundle, install it into
/Applications, and launch it with a single command.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@graydawnc graydawnc merged commit 47511ad into main Apr 14, 2026
3 checks passed
@graydawnc graydawnc deleted the feat/dev-install-script branch April 14, 2026 04:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant