-
-
Notifications
You must be signed in to change notification settings - Fork 76
Expand file tree
/
Copy path.envrc
More file actions
10 lines (10 loc) · 564 Bytes
/
Copy path.envrc
File metadata and controls
10 lines (10 loc) · 564 Bytes
1
2
3
4
5
6
7
8
9
10
# crit's toolchain and environment come from mise (see mise.toml), not direnv.
#
# This file exists so the global worktrunk `direnv allow` pre-start hook
# succeeds when a new worktree is created. direnv errors on a missing .envrc
# ("`.envrc` file not found"), and because that hook runs first, its failure
# aborts the rest of the pre-start pipeline — skipping `mise trust .` and the
# `wt step copy-ignored` step, which leaves the worktree unable to run tests.
#
# dotenv_if_exists is a no-op when there's no .env file, so this never errors.
dotenv_if_exists