Skip to content

Set up a new worktree: trust mise.toml, install the JDK and compile once - #313

Merged
abashev merged 1 commit into
21.X.Xfrom
abashev/bb-worktree-setup
Dec 3, 2026
Merged

abashev merged 1 commit into
21.X.Xfrom
abashev/bb-worktree-setup

Conversation

@abashev

@abashev abashev commented Dec 3, 2026

Copy link
Copy Markdown
Collaborator

Adds two files at the repository root for worktrees:

  • .bb-env-setup.sh runs mise trust, mise install and ./gradlew compileJava, so a fresh worktree has its JDK and a warm build. A failing compile only prints a warning.
  • .worktreeinclude lists the untracked local files to copy into a new worktree (mise.local.toml, .env* except .env.example). Nothing needs copying today.

Ran .bb-env-setup.sh in a new worktree and it finished.

.bb-env-setup.sh trusts mise.toml, installs Temurin 21 and runs compileJava, so a fresh worktree starts
with a warm build. .worktreeinclude lists the untracked local files (mise.local.toml, .env) copied
into it.
@abashev
abashev merged commit 01d1998 into 21.X.X Dec 3, 2026
17 checks passed
@abashev
abashev deleted the abashev/bb-worktree-setup branch December 3, 2026 18:54
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