From 0ffac1ab9f46116d0fec0c16a592f05383e82380 Mon Sep 17 00:00:00 2001 From: Hristo Deshev Date: Thu, 16 Jun 2016 13:08:10 +0300 Subject: [PATCH] Fix d.ts build check to not include android17/ios.dts --- gruntfile.js | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/gruntfile.js b/gruntfile.js index 01f2c5d64..34491d161 100644 --- a/gruntfile.js +++ b/gruntfile.js @@ -419,7 +419,7 @@ module.exports = function(grunt) { }, buildDts: { src: [ - '**/*.d.ts', + 'tns-core-modules/**/*.d.ts', '!org.nativescript.widgets.d.ts', '!**/*.android.d.ts', '!node_modules/**/*', @@ -427,8 +427,9 @@ module.exports = function(grunt) { '!tests/platforms/**/*.*', '!bin/**/*', '!apps/**/*', - '!android17.d.ts', - '!ios.d.ts', + '!tns-core-modules/android17.d.ts', + '!tns-core-modules/ios.d.ts', + '!tns-core-modules/org.nativescript.widgets.d.ts', ], outDir: localCfg.outDir, dest: localCfg.outDir,