fix(build): analyze examples and benchmarks again

This commit is contained in:
Tobias Bosch 2014-12-08 11:14:05 -08:00
parent 72b970e4e2
commit 1cd848df55
2 changed files with 3 additions and 3 deletions

View File

@ -57,8 +57,8 @@ var CONFIG = {
'default': 'lib',
// need a tmp folder as benchpress does not support
// inplace generation of the benchmarks...
'benchmark*/**': 'perf_tmp',
'example*/**': 'web'
'**/benchmark*/**': 'perf_tmp',
'**/example*/**': 'web'
},
deps: {
js: [

View File

@ -12,7 +12,7 @@ module.exports = function(gulp, plugins, config) {
var tempFile = '_analyzer.dart';
// analyze in parallel!
return Q.all(dartModuleFolders.map(function(dir) {
var srcFiles = [].slice.call(glob.sync(util.filterByFile(config.srcFolderMapping, dir) + '/**/*.dart', {
var srcFiles = [].slice.call(glob.sync(util.filterByFile(config.srcFolderMapping, dir + '/pubspec.yaml') + '/**/*.dart', {
cwd: dir
}));
var testFiles = [].slice.call(glob.sync('test/**/*_spec.dart', {