Harrison Deng
e953c52092
reset_db.py now has the updated path. Added reset database to tasks. watch_all.py has improved output.
59 lines
1.7 KiB
JSON
59 lines
1.7 KiB
JSON
{
|
|
"version": "2.0.0",
|
|
"tasks": [
|
|
{
|
|
"label": "build app",
|
|
"command": "dotnet",
|
|
"type": "process",
|
|
"args": [
|
|
"build",
|
|
"${workspaceFolder}/server/MultiShop.csproj",
|
|
"/property:GenerateFullPaths=true",
|
|
"/consoleloggerparameters:NoSummary"
|
|
],
|
|
"problemMatcher": "$msCompile"
|
|
},
|
|
{
|
|
"label": "publish app",
|
|
"command": "dotnet",
|
|
"type": "process",
|
|
"args": [
|
|
"publish",
|
|
"${workspaceFolder}/server/MultiShop.csproj",
|
|
"/property:GenerateFullPaths=true",
|
|
"/consoleloggerparameters:NoSummary"
|
|
],
|
|
"problemMatcher": "$msCompile"
|
|
},
|
|
{
|
|
"label": "watch all",
|
|
"command": "py",
|
|
"type": "process",
|
|
"args": [
|
|
"${workspaceFolder}/scripts/watch_all.py"
|
|
],
|
|
"problemMatcher": ["$msCompile", "$node-sass", "$jshint"],
|
|
},
|
|
{
|
|
"label": "watch server",
|
|
"command": "dotnet",
|
|
"type": "process",
|
|
"args": [
|
|
"watch",
|
|
"-p",
|
|
"${workspaceFolder}/server/MultiShop.csproj",
|
|
"run"
|
|
],
|
|
"problemMatcher": ["$msCompile"]
|
|
},
|
|
{
|
|
"label": "reset database",
|
|
"command": "py",
|
|
"type": "process",
|
|
"args": [
|
|
"${workspaceFolder}/scripts/reset_db.py"
|
|
],
|
|
"problemMatcher": ["$msCompile"]
|
|
}
|
|
]
|
|
} |