Workspace Definition
cobble.toml
The presence of a cobble.toml
file marks the root of a Cobble workspace. The cobble.toml
file can also contain configuration for the workspace. The following options can be configured in the cobble.toml
file:
root_projects
: array[string] - A list of root project paths to include in the workspace (Default =["."]
)num_threads
: int - Number of threads to use for executing tasks (Default =5
)stdout
: "always" | "never" | "on_fail" - When to display stdout output from tasks (Default ="on_fail"
)stderr
: "always" | "never" | "on_fail" - When to display stderr output from tasks (Default ="on_fail"
)output
: "always" | "never" | "on_fail" - Sets bothstdout
andstderr
. Ifstdout
orstderr
properties are present, they will take precedence overoutput
.vars
: table - Variables which can be used in actions
Example
An example of what a cobble.toml
file might look like: