Skip to content
This repository was archived by the owner on Jan 15, 2021. It is now read-only.

Commit 594e7d0

Browse files
committed
support for invoking jake from VS code
1 parent ccea1b8 commit 594e7d0

File tree

2 files changed

+19
-11
lines changed

2 files changed

+19
-11
lines changed

.vscode/tasks.json

+17-11
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,19 @@
11
{
2-
"version": "0.1.0",
3-
"command": "jake",
4-
"showOutput": "always",
5-
"isShellCommand": true,
6-
"tasks": [
7-
{
8-
"taskName": "build",
9-
"args": [],
10-
"isTestCommand": false
11-
}
12-
]
2+
"version": "0.1.0",
3+
// Task runner is jake
4+
"command": "jake",
5+
// Need to be executed in shell / cmd
6+
"isShellCommand": true,
7+
"tasks": [
8+
{
9+
// TS build command is local.
10+
"taskName": "build",
11+
// Make this the default build command.
12+
"isBuildCommand": true,
13+
// Use the redefined Typescript output problem matcher.
14+
"problemMatcher": [
15+
"$tsc"
16+
]
17+
}
18+
]
1319
}

Jakefile

+2
Original file line numberDiff line numberDiff line change
@@ -401,6 +401,8 @@ task('default', [
401401
console.log("[I] build completed.");
402402
});
403403

404+
task('build', ['default']);
405+
404406
desc('clean up the build folders and files')
405407
task('clean', [], function () {
406408
// XXX do this in a single call? check out https://github.com/mde/utilities/blob/master/lib/file.js

0 commit comments

Comments
 (0)