mirror of
https://github.com/agersant/polaris
synced 2024-11-10 10:14:12 +00:00
Updated to task system version 2.0
This commit is contained in:
parent
db105966f4
commit
7cf5f7db09
1 changed files with 37 additions and 20 deletions
57
.vscode/tasks.json
vendored
57
.vscode/tasks.json
vendored
|
@ -1,32 +1,49 @@
|
|||
{
|
||||
"version": "0.1.0",
|
||||
"showOutput": "always",
|
||||
|
||||
"tasks": [
|
||||
|
||||
"version": "2.0.0",
|
||||
"presentation": {
|
||||
"reveal": "always"
|
||||
},
|
||||
"tasks": [
|
||||
// Run test environment
|
||||
{
|
||||
"taskName": "Run",
|
||||
"options": { "cwd": "${workspaceRoot}" },
|
||||
"label": "Run",
|
||||
"options": {
|
||||
"cwd": "${workspaceRoot}"
|
||||
},
|
||||
"command": "cargo",
|
||||
"args": ["run", "--", "-c", "./TestConfigWindows.toml", "-d", "test/db.sqlite", "-w", "../polaris-web"]
|
||||
"args": [
|
||||
"run",
|
||||
"--",
|
||||
"-c",
|
||||
"./TestConfigWindows.toml",
|
||||
"-d",
|
||||
"test/db.sqlite",
|
||||
"-w",
|
||||
"../polaris-web"
|
||||
]
|
||||
},
|
||||
|
||||
// Run unit tests
|
||||
{
|
||||
"isTestCommand": true,
|
||||
"taskName": "Test",
|
||||
"options": { "cwd": "${workspaceRoot}" },
|
||||
{
|
||||
"group": "test",
|
||||
"label": "Test",
|
||||
"options": {
|
||||
"cwd": "${workspaceRoot}"
|
||||
},
|
||||
"command": "cargo",
|
||||
"args": ["test"]
|
||||
},
|
||||
|
||||
"args": [
|
||||
"test"
|
||||
]
|
||||
},
|
||||
// Compile
|
||||
{
|
||||
"taskName": "Compile",
|
||||
"options": { "cwd": "${workspaceRoot}" },
|
||||
"label": "Compile",
|
||||
"options": {
|
||||
"cwd": "${workspaceRoot}"
|
||||
},
|
||||
"command": "cargo",
|
||||
"args": ["check"]
|
||||
"args": [
|
||||
"check"
|
||||
]
|
||||
}
|
||||
]
|
||||
]
|
||||
}
|
Loading…
Reference in a new issue