![Richard Newman](/assets/img/avatar_default.png)
* Add basic coloring of CLI output. * Add a timer to the CLI. Toggle it on or off with 'timer on' and 'timer off'. Output is colorized. * Add VSCode configuration files. These allow you to build and run the CLI, build Mentat, or run all tests.
58 lines
1.3 KiB
JSON
58 lines
1.3 KiB
JSON
{
|
|
// See https://go.microsoft.com/fwlink/?LinkId=733558
|
|
// for the documentation about the tasks.json format
|
|
"version": "2.0.0",
|
|
"tasks": [
|
|
{
|
|
"type": "shell",
|
|
"label": "Test all",
|
|
"command": "cargo",
|
|
"args": [
|
|
"test",
|
|
"--all",
|
|
],
|
|
"problemMatcher": [
|
|
"$rustc"
|
|
],
|
|
"group": "test"
|
|
},
|
|
{
|
|
"type": "shell",
|
|
"label": "Run CLI",
|
|
"command": "cargo",
|
|
"args": [
|
|
"cli",
|
|
],
|
|
"problemMatcher": [
|
|
"$rustc"
|
|
],
|
|
"group": "test"
|
|
},
|
|
{
|
|
"type": "shell",
|
|
"label": "Build CLI",
|
|
"command": "cargo",
|
|
"args": [
|
|
"build",
|
|
"-p",
|
|
"mentat_cli",
|
|
],
|
|
"problemMatcher": [
|
|
"$rustc"
|
|
],
|
|
"group": "build"
|
|
},
|
|
{
|
|
"type": "shell",
|
|
"label": "Build Mentat",
|
|
"command": "cargo",
|
|
"args": [
|
|
"build",
|
|
],
|
|
"problemMatcher": [
|
|
"$rustc"
|
|
],
|
|
"group": "build"
|
|
}
|
|
]
|
|
}
|