Merge pull request #1105 from NativeScript/hdeshev/grunt-vs-no-color

Disable color output in grunt invocations from within Visual Studio.
This commit is contained in:
Hristo Deshev
2015-11-16 14:03:50 +02:00
3 changed files with 9 additions and 7 deletions

View File

@@ -2076,7 +2076,7 @@
<GruntRunTSLint Condition=" '$(Configuration)' == 'Cross' ">--runtslint=true</GruntRunTSLint>
<GruntRunTSLint Condition=" '$(Configuration)' != 'Cross' ">--runtslint=false</GruntRunTSLint>
</PropertyGroup>
<Exec Command="grunt default $(GruntLeaveComments) $(GruntRunTSLint) --verbose" />
<Exec Command="grunt default $(GruntLeaveComments) $(GruntRunTSLint) --verbose --no-color" />
</Target>
<Import Project="../cross-platform-modules-dev/dev.proj" Condition=" Exists('../cross-platform-modules-dev/dev.proj') " />
<PropertyGroup>

View File

@@ -265,11 +265,12 @@ module.exports = function(grunt) {
childPackageFiles: {
expand: true,
src: [
localCfg.srcDir + "/**/package.json",
"!./package.json",
"!./Deploy/**/*.*",
"!./bin/**/*.*",
"!./Tests/**/*.*",
"**/package.json",
"!package.json",
"!Deploy/**/*.*",
"!bin/**/*.*",
"!Tests/**/*.*",
"!node_modules/**/*.*",
"!" + localCfg.outDir + "/**/*.*"
],
dest: localCfg.outModulesDir + "/"

View File

@@ -28,6 +28,7 @@
"grunt-simple-mocha": "0.4.0",
"grunt-ts": "5.0.0-beta.5",
"grunt-tslint": "2.5.0",
"tslint": "2.5.1",
"grunt-typedoc": "0.2.3",
"grunt-untar": "0.0.1",
"mocha": "2.2.5",