You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/tasks/monorepo.md
+4-1Lines changed: 4 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -175,14 +175,17 @@ mise '//...:test*'
175
175
mise //.../frontend:build
176
176
```
177
177
178
-
## Tooland Environment Layering
178
+
## Tool, Environment, and Vars Layering
179
179
180
180
Subdirectory tasks automatically use tools and environment variables from parent config files in the hierarchy. However, each subdirectory can also define its own tools and environment variables in its config_root. This allows you to:
181
181
182
182
1. Define common tools and environment at the monorepo root
183
183
2. Override tools or environment in specific subdirectories
184
184
3. Add additional tools or environment in subdirectories
185
185
186
+
`vars` follow the same hierarchy for task templating, so child config vars are available when
187
+
running subdirectory tasks from the monorepo root.
0 commit comments