Skip to content

Latest commit

 

History

History
53 lines (29 loc) · 1.34 KB

README.md

File metadata and controls

53 lines (29 loc) · 1.34 KB

VSCODE TASKS

low-dependency command line interface to vscode tasks.json files

fetch

$ git clone ...
$ cd vscode-tasks

build

$ cargo build --release

usage

By default, vscode-tasks checks recursively from current working directory through parent directories for a file named .vscode/tasks.json.

help is displayed by default:

$ ./target/release/vscode-tasks

display usage for a specific task:

$ ./target/release/vscode-tasks help <task>
$ ./target/release/vscode-tasks <task> --help

run a task:

$ ./target/release/vscode-tasks <task> [options]

configuration

tasks.json search path can be overridden with the VSCODE_TASKS_CONFIG_PATH environment variable.

$ VSCODE_TASKS_CONFIG_PATH="examples/tasks.json" cargo run -- <task>

contributing

tests

$ cargo test

references

tasks.json variables reference

processTaskSystem.run() implementation

taskConfiguration code

schema for tasks.json