|
| 1 | +[ |
| 2 | + { |
| 3 | + "label": "Build packages", |
| 4 | + "command": "pnpm run build --filter \"@trigger.dev/*\" --filter trigger.dev", |
| 5 | + //"args": [], |
| 6 | + // Env overrides for the command, will be appended to the terminal's environment from the settings. |
| 7 | + "env": { "foo": "bar" }, |
| 8 | + // Current working directory to spawn the command into, defaults to current project root. |
| 9 | + //"cwd": "/path/to/working/directory", |
| 10 | + // Whether to use a new terminal tab or reuse the existing one to spawn the process, defaults to `false`. |
| 11 | + "use_new_terminal": false, |
| 12 | + // Whether to allow multiple instances of the same task to be run, or rather wait for the existing ones to finish, defaults to `false`. |
| 13 | + "allow_concurrent_runs": false, |
| 14 | + // What to do with the terminal pane and tab, after the command was started: |
| 15 | + // * `always` — always show the task's pane, and focus the corresponding tab in it (default) |
| 16 | + // * `no_focus` — always show the task's pane, add the task's tab in it, but don't focus it |
| 17 | + // * `never` — do not alter focus, but still add/reuse the task's tab in its pane |
| 18 | + "reveal": "always", |
| 19 | + // What to do with the terminal pane and tab, after the command has finished: |
| 20 | + // * `never` — Do nothing when the command finishes (default) |
| 21 | + // * `always` — always hide the terminal tab, hide the pane also if it was the last tab in it |
| 22 | + // * `on_success` — hide the terminal tab on task success only, otherwise behaves similar to `always` |
| 23 | + "hide": "never", |
| 24 | + // Which shell to use when running a task inside the terminal. |
| 25 | + // May take 3 values: |
| 26 | + // 1. (default) Use the system's default terminal configuration in /etc/passwd |
| 27 | + // "shell": "system" |
| 28 | + // 2. A program: |
| 29 | + // "shell": { |
| 30 | + // "program": "sh" |
| 31 | + // } |
| 32 | + // 3. A program with arguments: |
| 33 | + // "shell": { |
| 34 | + // "with_arguments": { |
| 35 | + // "program": "/bin/bash", |
| 36 | + // "args": ["--login"] |
| 37 | + // } |
| 38 | + // } |
| 39 | + "shell": "system", |
| 40 | + // Whether to show the task line in the output of the spawned task, defaults to `true`. |
| 41 | + "show_summary": true, |
| 42 | + // Whether to show the command line in the output of the spawned task, defaults to `true`. |
| 43 | + "show_output": true |
| 44 | + } |
| 45 | +] |
0 commit comments