mirror of
https://github.com/NativeScript/NativeScript.git
synced 2025-11-05 13:26:48 +08:00
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:
@@ -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>
|
||||
@@ -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" />
|
||||
</VisualStudio>
|
||||
</ProjectExtensions>
|
||||
</Project>
|
||||
</Project>
|
||||
|
||||
11
gruntfile.js
11
gruntfile.js
@@ -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 + "/"
|
||||
|
||||
@@ -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",
|
||||
|
||||
Reference in New Issue
Block a user