2020-05-05 05:31:53 +08:00
|
|
|
{
|
|
|
|
// See https://go.microsoft.com/fwlink/?LinkId=733558
|
|
|
|
// for the documentation about the tasks.json format
|
|
|
|
"version": "2.0.0",
|
|
|
|
"tasks": [
|
2020-06-22 20:11:20 +08:00
|
|
|
{
|
|
|
|
"label": "build and run",
|
|
|
|
"type": "shell",
|
2020-06-24 04:39:48 +08:00
|
|
|
"command": "swift run carton"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"label": "build and run sdk",
|
|
|
|
"type": "shell",
|
|
|
|
"command": "swift run carton sdk"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"label": "build and run sdk install",
|
|
|
|
"type": "shell",
|
|
|
|
"command": "swift run carton sdk install"
|
2020-06-22 20:11:20 +08:00
|
|
|
},
|
2020-07-07 22:52:07 +08:00
|
|
|
{
|
|
|
|
"label": "build and run sdk versions",
|
|
|
|
"type": "shell",
|
|
|
|
"command": "swift run carton sdk versions"
|
|
|
|
},
|
2020-06-22 20:11:20 +08:00
|
|
|
{
|
|
|
|
"label": "build and version",
|
|
|
|
"type": "shell",
|
2020-06-24 04:39:48 +08:00
|
|
|
"command": "swift run carton --version"
|
2020-06-22 20:11:20 +08:00
|
|
|
},
|
2020-05-05 05:31:53 +08:00
|
|
|
{
|
2020-06-10 05:37:29 +08:00
|
|
|
"label": "build and run dev",
|
2020-05-05 05:31:53 +08:00
|
|
|
"type": "shell",
|
2020-06-17 03:53:58 +08:00
|
|
|
"command": "swift build && cd TestApp && ../.build/debug/carton dev --product TestApp"
|
2020-06-08 02:25:08 +08:00
|
|
|
},
|
2020-06-10 05:37:29 +08:00
|
|
|
{
|
|
|
|
"label": "build and run test",
|
|
|
|
"type": "shell",
|
|
|
|
"command": "swift build && cd TestApp && ../.build/debug/carton test"
|
|
|
|
},
|
2020-07-16 02:12:28 +08:00
|
|
|
{
|
|
|
|
"label": "build and run test list",
|
|
|
|
"type": "shell",
|
|
|
|
"command": "swift build && cd TestApp && ../.build/debug/carton test -l"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"label": "build and run test case",
|
|
|
|
"type": "shell",
|
|
|
|
"command": "swift build && cd TestApp && ../.build/debug/carton test Tests.Test/testTrivial"
|
|
|
|
},
|
2020-06-08 02:25:08 +08:00
|
|
|
{
|
|
|
|
"type": "npm",
|
|
|
|
"script": "build",
|
|
|
|
"group": "build",
|
|
|
|
"problemMatcher": [],
|
|
|
|
"label": "npm: build",
|
|
|
|
"detail": "webpack"
|
2020-05-05 05:31:53 +08:00
|
|
|
}
|
|
|
|
]
|
|
|
|
}
|