mirror of
https://github.com/agersant/polaris
synced 2024-12-11 13:56:24 +00:00
32 lines
No EOL
621 B
JSON
32 lines
No EOL
621 B
JSON
{
|
|
"version": "0.1.0",
|
|
"showOutput": "always",
|
|
|
|
"tasks": [
|
|
|
|
// Run test environment
|
|
{
|
|
"taskName": "Run",
|
|
"options": { "cwd": "${workspaceRoot}" },
|
|
"command": "cargo",
|
|
"args": ["run", "--", "-c", "./TestConfigWindows.toml", "-d", "test/db.sqlite", "-w", "../polaris-web"]
|
|
},
|
|
|
|
// Run unit tests
|
|
{
|
|
"isTestCommand": true,
|
|
"taskName": "Test",
|
|
"options": { "cwd": "${workspaceRoot}" },
|
|
"command": "cargo",
|
|
"args": ["test"]
|
|
},
|
|
|
|
// Compile
|
|
{
|
|
"taskName": "Compile",
|
|
"options": { "cwd": "${workspaceRoot}" },
|
|
"command": "cargo",
|
|
"args": ["check"]
|
|
}
|
|
]
|
|
} |