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=true</GruntRunTSLint>
<GruntRunTSLint Condition=" '$(Configuration)' != 'Cross' ">--runtslint=false</GruntRunTSLint> <GruntRunTSLint Condition=" '$(Configuration)' != 'Cross' ">--runtslint=false</GruntRunTSLint>
</PropertyGroup> </PropertyGroup>
<Exec Command="grunt default $(GruntLeaveComments) $(GruntRunTSLint) --verbose" /> <Exec Command="grunt default $(GruntLeaveComments) $(GruntRunTSLint) --verbose --no-color" />
</Target> </Target>
<Import Project="../cross-platform-modules-dev/dev.proj" Condition=" Exists('../cross-platform-modules-dev/dev.proj') " /> <Import Project="../cross-platform-modules-dev/dev.proj" Condition=" Exists('../cross-platform-modules-dev/dev.proj') " />
<PropertyGroup> <PropertyGroup>
@@ -2102,4 +2102,4 @@
<UserProperties ui_2scroll-view_2package_1json__JSONSchema="http://json.schemastore.org/package" apps_2editable-text-demo_2package_1json__JSONSchema="http://json.schemastore.org/package" apps_2absolute-layout-demo_2package_1json__JSONSchema="http://json.schemastore.org/package" apps_2gallery-app_2package_1json__JSONSchema="http://json.schemastore.org/package" ui_2content-view_2package_1json__JSONSchema="http://json.schemastore.org/package" ui_2web-view_2package_1json__JSONSchema="http://json.schemastore.org/package" ui_2layouts_2absolute-layout_2package_1json__JSONSchema="http://json.schemastore.org/package" ui_2layouts_2dock-layout_2package_1json__JSONSchema="" ui_2layouts_2grid-layout_2package_1json__JSONSchema="" ui_2layouts_2wrap-layout_2package_1json__JSONSchema="http://json.schemastore.org/package" /> <UserProperties ui_2scroll-view_2package_1json__JSONSchema="http://json.schemastore.org/package" apps_2editable-text-demo_2package_1json__JSONSchema="http://json.schemastore.org/package" apps_2absolute-layout-demo_2package_1json__JSONSchema="http://json.schemastore.org/package" apps_2gallery-app_2package_1json__JSONSchema="http://json.schemastore.org/package" ui_2content-view_2package_1json__JSONSchema="http://json.schemastore.org/package" ui_2web-view_2package_1json__JSONSchema="http://json.schemastore.org/package" ui_2layouts_2absolute-layout_2package_1json__JSONSchema="http://json.schemastore.org/package" ui_2layouts_2dock-layout_2package_1json__JSONSchema="" ui_2layouts_2grid-layout_2package_1json__JSONSchema="" ui_2layouts_2wrap-layout_2package_1json__JSONSchema="http://json.schemastore.org/package" />
</VisualStudio> </VisualStudio>
</ProjectExtensions> </ProjectExtensions>
</Project> </Project>

View File

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

View File

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