Skip to content

[codex] Add worktree setup script#38

Merged
gabrielMalonso merged 1 commit intomainfrom
t3code/setup-worktree-script
Apr 10, 2026
Merged

[codex] Add worktree setup script#38
gabrielMalonso merged 1 commit intomainfrom
t3code/setup-worktree-script

Conversation

@gabrielMalonso
Copy link
Copy Markdown
Owner

Summary

  • add scripts/setup-worktree.sh to bootstrap a fresh worktree before running bun dev

Why

Opening a new worktree currently requires a few repetitive setup steps before the app can be started. This script keeps that flow simple and repeatable.

Impact

  • gives every branch a single command to prepare a fresh worktree
  • installs dependencies and ensures T3CODE_HOME exists
  • warns when neither codex nor claude is available on the PATH

Testing

  • bun fmt
  • bun lint (passes with one pre-existing warning in apps/web/src/environments/runtime/catalog.test.ts)
  • bun typecheck

@github-actions github-actions bot added size:S 10-29 changed lines (additions + deletions). vouch:trusted PR author is trusted by repo permissions or the VOUCHED list. labels Apr 10, 2026
@gabrielMalonso gabrielMalonso marked this pull request as ready for review April 10, 2026 19:01
@gabrielMalonso gabrielMalonso merged commit 8ead1af into main Apr 10, 2026
12 checks passed
@gabrielMalonso gabrielMalonso deleted the t3code/setup-worktree-script branch April 10, 2026 19:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

size:S 10-29 changed lines (additions + deletions). vouch:trusted PR author is trusted by repo permissions or the VOUCHED list.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant