chore: don't shred _boilerplate files nor dart build files (#2747)

This commit is contained in:
Patrice Chalin 2016-11-04 08:06:13 -07:00 committed by Filipe Silva
parent 40c646eced
commit a3466b9cd3
2 changed files with 2 additions and 2 deletions

View File

@ -808,7 +808,7 @@ gulp.task('_harp-compile', function() {
gulp.task('_shred-devguide-examples', ['_shred-clean-devguide', '_copy-example-boilerplate'], function() {
// Split big shredding task into partials 2016-06-14
var examplePaths = globby.sync(EXAMPLES_PATH+'/*/', {ignore: ['/node_modules']});
var examplePaths = globby.sync(EXAMPLES_PATH+'/*/', {ignore: ['**/node_modules', '**/_boilerplate']});
var promise = Promise.resolve(true);
examplePaths.forEach(function (examplePath) {
promise = promise.then(() => docShredder.shredSingleExampleDir(_devguideShredOptions, examplePath));

View File

@ -4,7 +4,7 @@ var del = require('del');
var Dgeni = require('dgeni');
var _ = require('lodash');
var globby = require('globby');
var ignoreDirs = ['**/node_modules/**', '**/dist/**'];
var ignoreDirs = ['**/node_modules/**', '**/dist/**', '**/dart/**/build/**', '**/.pub/**'];
var _getLogLevel = function (options) { return options.logLevel || 'info'; }