carton/.vscode/tasks.json

66 lines
1.7 KiB
JSON
Raw Normal View History

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": [
{
"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"
},
{
"label": "build and run sdk versions",
"type": "shell",
"command": "swift run carton sdk versions"
},
{
"label": "build and version",
"type": "shell",
2020-06-24 04:39:48 +08:00
"command": "swift run carton --version"
},
2020-05-05 05:31:53 +08:00
{
"label": "build and run dev",
2020-05-05 05:31:53 +08:00
"type": "shell",
"command": "swift build && cd TestApp && ../.build/debug/carton dev --product TestApp"
},
{
"label": "build and run dev in subdirectory",
"type": "shell",
"command": "swift build && cd TestApp/Sources/TestApp && ../../../.build/debug/carton dev --product TestApp"
},
{
"label": "build and run test",
"type": "shell",
"command": "swift build && cd TestApp && ../.build/debug/carton test"
},
{
"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"
},
{
"type": "npm",
"script": "build",
"group": "build",
"problemMatcher": [],
"label": "npm: build",
"detail": "webpack"
2020-05-05 05:31:53 +08:00
}
]
}