fix(build): analyze examples and benchmarks again
This commit is contained in:
parent
72b970e4e2
commit
1cd848df55
@ -57,8 +57,8 @@ var CONFIG = {
|
|||||||
'default': 'lib',
|
'default': 'lib',
|
||||||
// need a tmp folder as benchpress does not support
|
// need a tmp folder as benchpress does not support
|
||||||
// inplace generation of the benchmarks...
|
// inplace generation of the benchmarks...
|
||||||
'benchmark*/**': 'perf_tmp',
|
'**/benchmark*/**': 'perf_tmp',
|
||||||
'example*/**': 'web'
|
'**/example*/**': 'web'
|
||||||
},
|
},
|
||||||
deps: {
|
deps: {
|
||||||
js: [
|
js: [
|
||||||
|
@ -12,7 +12,7 @@ module.exports = function(gulp, plugins, config) {
|
|||||||
var tempFile = '_analyzer.dart';
|
var tempFile = '_analyzer.dart';
|
||||||
// analyze in parallel!
|
// analyze in parallel!
|
||||||
return Q.all(dartModuleFolders.map(function(dir) {
|
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
|
cwd: dir
|
||||||
}));
|
}));
|
||||||
var testFiles = [].slice.call(glob.sync('test/**/*_spec.dart', {
|
var testFiles = [].slice.call(glob.sync('test/**/*_spec.dart', {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user