fix(build): analyze examples and benchmarks again
This commit is contained in:
parent
72b970e4e2
commit
1cd848df55
|
@ -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: [
|
||||
|
|
|
@ -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', {
|
||||
|
|
Loading…
Reference in New Issue