{ // 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", "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", "command": "swift run carton --version" }, { "label": "build and run dev", "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" } ] }