Added VS code tasks for running/testing
This commit is contained in:
parent
63f78efa3d
commit
fc4bac94b4
1 changed files with 25 additions and 0 deletions
25
.vscode/tasks.json
vendored
Normal file
25
.vscode/tasks.json
vendored
Normal file
|
@ -0,0 +1,25 @@
|
|||
{
|
||||
"version": "0.1.0",
|
||||
"showOutput": "always",
|
||||
|
||||
"tasks": [
|
||||
|
||||
// Run test environment
|
||||
{
|
||||
"taskName": "Run",
|
||||
"options": { "cwd": "${workspaceRoot}" },
|
||||
"command": "cargo",
|
||||
"args": ["run", "--", "-c", "./TestConfigWindows.toml", "-d", "test.sqlite", "-w", "../polaris-web"]
|
||||
},
|
||||
|
||||
// Run unit tests
|
||||
{
|
||||
"isTestCommand": true,
|
||||
"taskName": "Test",
|
||||
"options": { "cwd": "${workspaceRoot}" },
|
||||
"command": "cargo",
|
||||
"args": ["test"]
|
||||
}
|
||||
|
||||
]
|
||||
}
|
Loading…
Add table
Reference in a new issue