062b64bce8
- set CMAke project - add Drogon submodule - add json and Catch2 submodule - add health check endpoint -RAII SqliteDb - Verify DB and HTTP some work
43 lines
983 B
JSON
43 lines
983 B
JSON
{
|
|
"version": "2.0.0",
|
|
"tasks": [
|
|
{
|
|
"label": "build",
|
|
"type": "shell",
|
|
"command": "cmake",
|
|
"args": [
|
|
"--build",
|
|
"build",
|
|
"--target",
|
|
"auth_service"
|
|
],
|
|
"group": {
|
|
"kind": "build",
|
|
"isDefault": true
|
|
},
|
|
"problemMatcher": [
|
|
"$gcc"
|
|
]
|
|
},
|
|
{
|
|
"label": "run",
|
|
"type": "shell",
|
|
"command": "./build/auth_service",
|
|
"dependsOn": "build",
|
|
"problemMatcher": [
|
|
"$gcc"
|
|
]
|
|
},
|
|
{
|
|
"label": "test",
|
|
"type": "shell",
|
|
"command": "ctest",
|
|
"args": [
|
|
"--test-dir",
|
|
"build",
|
|
"--output-on-failure"
|
|
],
|
|
"dependsOn": "build"
|
|
}
|
|
]
|
|
} |