carton/.vscode/tasks.json

133 lines
4.1 KiB
JSON

{
// 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 Tests/Fixtures/TestApp && ../../../.build/debug/carton dev"
},
{
"label": "build and run dev release",
"type": "shell",
"command": "swift build && cd Tests/Fixtures/TestApp && ../../../.build/debug/carton dev --release"
},
{
"label": "build release and run dev",
"type": "shell",
"command": "swift build -c release && cd Tests/Fixtures/TestApp && ../../../.build/release/carton dev"
},
{
"label": "build release and run dev verbose",
"type": "shell",
"command": "swift build -c release && cd Tests/Fixtures/TestApp && ../../../.build/release/carton dev -v"
},
{
"label": "build and run dev on 9090 port",
"type": "shell",
"command": "swift build && cd Tests/Fixtures/TestApp && ../../../.build/debug/carton dev --port 9090"
},
{
"label": "build and run dev w/ custom index",
"type": "shell",
"command": "swift build && cd Tests/Fixtures/TestApp && ../../../.build/debug/carton dev --product TestApp --custom-index-page index.html"
},
{
"label": "build and run dev in subdirectory",
"type": "shell",
"command": "swift build && cd Tests/Fixtures/TestApp/Sources/TestApp && ../../../.build/debug/carton dev --product TestApp"
},
{
"label": "build and run test",
"type": "shell",
"command": "swift build && cd Tests/Fixtures/TestApp && ../../../.build/debug/carton test"
},
{
"label": "build and run browser test",
"type": "shell",
"command": "swift build && cd Tests/Fixtures/TestApp && ../../../.build/debug/carton test --environment defaultBrowser"
},
{
"label": "build and run test list",
"type": "shell",
"command": "swift build && cd Tests/Fixtures/TestApp && ../../../.build/debug/carton test -l"
},
{
"label": "build and run test case",
"type": "shell",
"command": "swift build && cd Tests/Fixtures/TestApp && ../../../.build/debug/carton test Tests.Test/testTrivial"
},
{
"label": "build and hash static dependencies",
"type": "shell",
"command": "swift run carton-release hash-archive"
},
{
"label": "build and run bundle",
"type": "shell",
"command": "swift build && cd Tests/Fixtures/TestApp && ../../../.build/debug/carton bundle"
},
{
"label": "build and run bundle debug",
"type": "shell",
"command": "swift build && cd Tests/Fixtures/TestApp && ../../../.build/debug/carton bundle --debug"
},
{
"label": "build and run bundle, log to file",
"type": "shell",
"command": "swift build && cd Tests/Fixtures/TestApp && ../../../.build/debug/carton bundle > .build/log"
},
{
"label": "build and run bundle w/ custom index",
"type": "shell",
"command": "swift build && cd Tests/Fixtures/TestApp && ../../../.build/debug/carton bundle --custom-index-page index.html"
},
{
"label": "test",
"type": "shell",
"command": "swift test"
},
{
"type": "npm",
"script": "build",
"group": "build",
"problemMatcher": [],
"label": "npm: build",
"detail": "webpack"
},
{
"type": "npm",
"script": "bundle",
"problemMatcher": [],
"label": "npm: bundle",
"detail": "webpack --config bundle.config.js"
}
]
}