Skip to content
This repository was archived by the owner on Dec 4, 2017. It is now read-only.

Commit b93295f

Browse files
committed
Only ignore build dir under dart dir
Have the shredder ignore `**/dart/build/**`.
1 parent 10568ca commit b93295f

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

tools/doc-shredder/doc-shredder.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -138,7 +138,7 @@ function createShredExamplePackage(shredOptions) {
138138
readFilesProcessor.sourceFiles = [ {
139139
// Process all candidate files in `src` and its subfolders ...
140140
include: includeFiles ,
141-
exclude: [ '**/node_modules/**', '**/dist/**', '**/typings/**', '**/packages/**', '**/build/**'],
141+
exclude: [ '**/node_modules/**', '**/dist/**', '**/typings/**', '**/packages/**', '**/dart/build/**'],
142142
// When calculating the relative path to these files use this as the base path.
143143
// So `src/foo/bar.js` will have relative path of `foo/bar.js`
144144
basePath: options.examplesDir
@@ -190,7 +190,7 @@ function createShredJadePackage(shredOptions) {
190190
readFilesProcessor.sourceFiles = [ {
191191
// Process all candidate files in `src` and its subfolders ...
192192
include: includeFiles ,
193-
exclude: [ '**/node_modules/**', '**/typings/**', '**/packages/**', '**/build/**', '**/_code-examples.jade'],
193+
exclude: [ '**/node_modules/**', '**/typings/**', '**/packages/**', '**/dart/build/**', '**/_code-examples.jade'],
194194
// When calculating the relative path to these files use this as the base path.
195195
// So `src/foo/bar.js` will have relative path of `foo/bar.js`
196196
basePath: options.jadeDir
@@ -244,7 +244,7 @@ var createShredMapPackage = function(mapOptions) {
244244
readFilesProcessor.sourceFiles = [ {
245245
// Process all candidate files in `src` and its subfolders ...
246246
include: includeFiles,
247-
exclude: ['**/node_modules/**', '**/typings/**', '**/packages/**', '**/build/**'],
247+
exclude: ['**/node_modules/**', '**/typings/**', '**/packages/**', '**/dart/build/**'],
248248
// When calculating the relative path to these files use this as the base path.
249249
// So `src/foo/bar.js` will have relative path of `foo/bar.js`
250250
basePath: options.jadeDir

0 commit comments

Comments
 (0)