+ Added run task with task dependencies

main
Herobane 1 year ago
parent 81ad93f364
commit 0df1b2dc00

21
.vscode/tasks.json vendored

@ -3,23 +3,36 @@
// for the documentation about the tasks.json format
"version": "2.0.0",
"tasks": [
{
"label": "test",
"type": "shell",
"command": "mvn -B test",
"group": "test"
},
{
"label": "compile",
"type": "shell",
"command": "mvn -B compile",
"group": "build"
},
{
"label": "package",
"type": "shell",
"command": "mvn clean package",
"dependsOn": ["compile"]
},
{
"label": "dockerBuild",
"type": "shell",
"command": "docker build -t sixdeploy:latest .",
"group": "build"
"dependsOn": ["package"]
},
{
"label": "test",
"label": "run",
"type": "shell",
"command": "mvn -B test",
"group": "test"
"command": "docker run --rm -p 8888:8080 --name test sixdeploy:latest",
"dependsOn": ["dockerBuild"]
}
]
}
Loading…
Cancel
Save