提交 d9491c04 编写于 作者: B Benjamin Pasero

no-verbose tsb build, only apply markers to closed documents

上级 1ce8b91b
......@@ -10,6 +10,11 @@
"command": "./node_modules/.bin/gulp"
},
"isShellCommand": true,
"options": {
"env": {
"VSCODE_BUILD_QUIET": "1"
}
},
"tasks": [
{
"taskName": "watch",
......@@ -20,6 +25,7 @@
"isWatching": true,
"problemMatcher": {
"owner": "typescript",
"applyTo": "closedDocuments",
"fileLocation": [
"absolute"
],
......
......@@ -17,6 +17,8 @@ var util = require('./lib/util');
var i18n = require('./lib/i18n');
var gulpUtil = require('gulp-util');
var quiet = !!process.env['VSCODE_BUILD_QUIET'];
function log(prefix, message) {
gulpUtil.log(gulpUtil.colors.cyan('[' + prefix + ']'), message);
}
......@@ -27,7 +29,7 @@ var commit = util.getVersion(root);
var tsOptions = {
target: 'ES5',
module: 'amd',
verbose: true,
verbose: !quiet,
preserveConstEnums: true,
experimentalDecorators: true,
sourceMap: true,
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册