mirror of
https://github.com/jjbrunton/Convertarr.git
synced 2026-10-31 09:59:43 +00:00
110 lines
3.5 KiB
JSON
110 lines
3.5 KiB
JSON
{
|
|
"version": "2.0.0",
|
|
"tasks": [
|
|
{
|
|
"label": "build",
|
|
"command": "dotnet",
|
|
"type": "process",
|
|
"args": [
|
|
"build",
|
|
"${workspaceFolder}/src/Convertarr.Web/Convertarr.Web.csproj",
|
|
"/property:GenerateFullPaths=true",
|
|
"/consoleloggerparameters:NoSummary"
|
|
],
|
|
"problemMatcher": "$msCompile"
|
|
},
|
|
{
|
|
"label": "publish",
|
|
"command": "dotnet",
|
|
"type": "process",
|
|
"args": [
|
|
"publish",
|
|
"${workspaceFolder}/src/Convertarr.Web/Convertarr.Web.csproj",
|
|
"/property:GenerateFullPaths=true",
|
|
"/consoleloggerparameters:NoSummary"
|
|
],
|
|
"problemMatcher": "$msCompile"
|
|
},
|
|
{
|
|
"label": "watch",
|
|
"command": "dotnet",
|
|
"type": "process",
|
|
"args": [
|
|
"watch",
|
|
"run",
|
|
"--project",
|
|
"${workspaceFolder}/src/Convertarr.Web/Convertarr.Web.csproj"
|
|
],
|
|
"problemMatcher": "$msCompile"
|
|
},
|
|
{
|
|
"type": "docker-build",
|
|
"label": "docker-build: debug",
|
|
"dependsOn": [
|
|
"build"
|
|
],
|
|
"dockerBuild": {
|
|
"tag": "convertarr:dev",
|
|
"target": "base",
|
|
"dockerfile": "${workspaceFolder}/src/Convertarr.Web/Dockerfile",
|
|
"context": "${workspaceFolder}",
|
|
"pull": true
|
|
},
|
|
"netCore": {
|
|
"appProject": "${workspaceFolder}/src/Convertarr.Web/Convertarr.Web.csproj"
|
|
}
|
|
},
|
|
{
|
|
"type": "docker-build",
|
|
"label": "docker-build: release",
|
|
"dependsOn": [
|
|
"build"
|
|
],
|
|
"dockerBuild": {
|
|
"tag": "convertarr:latest",
|
|
"dockerfile": "${workspaceFolder}/src/Convertarr.Web/Dockerfile",
|
|
"context": "${workspaceFolder}",
|
|
"pull": true
|
|
},
|
|
"netCore": {
|
|
"appProject": "${workspaceFolder}/src/Convertarr.Web/Convertarr.Web.csproj"
|
|
}
|
|
},
|
|
{
|
|
"type": "docker-run",
|
|
"label": "docker-run: debug",
|
|
"dependsOn": [
|
|
"docker-build: debug"
|
|
],
|
|
"dockerRun": {
|
|
"volumes": [
|
|
{
|
|
"containerPath": "/media",
|
|
"localPath": "/Users/jamiebrunton/Movies",
|
|
"permissions": "rw"
|
|
},
|
|
{
|
|
"containerPath": "/config",
|
|
"localPath": "/Users/jamiebrunton/Documents/Projects/ConvertarrConfig",
|
|
"permissions": "rw"
|
|
}
|
|
]
|
|
},
|
|
"netCore": {
|
|
"appProject": "${workspaceFolder}/src/Convertarr.Web/Convertarr.Web.csproj",
|
|
"enableDebugging": true
|
|
}
|
|
},
|
|
{
|
|
"type": "docker-run",
|
|
"label": "docker-run: release",
|
|
"dependsOn": [
|
|
"docker-build: release"
|
|
],
|
|
"dockerRun": {},
|
|
"netCore": {
|
|
"appProject": "${workspaceFolder}/src/Convertarr.Web/Convertarr.Web.csproj"
|
|
}
|
|
}
|
|
]
|
|
} |