From e45ecd6d58986c45955081c14295cd28d984846e Mon Sep 17 00:00:00 2001 From: Misko Hevery Date: Fri, 19 Sep 2014 16:37:56 -0700 Subject: [PATCH] chare: changed gulp to support test folder --- gulpfile.js | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/gulpfile.js b/gulpfile.js index e3721a1388..8684460fba 100644 --- a/gulpfile.js +++ b/gulpfile.js @@ -34,9 +34,9 @@ var sourceTypeConfigs = { compiler: function() { return js2dart({replace: true}); }, - transpileSrc: ['modules/*/src/**/*.es6d'], + transpileSrc: ['modules/**/*.es6d'], htmlSrc: ['modules/*/src/**/*.html'], - copySrc: ['modules/*/src/**/*.dart'], + copySrc: ['modules/**/*.dart'], outputDir: 'build/dart', outputExt: 'dart', mimeType: 'application/dart' @@ -45,7 +45,7 @@ var sourceTypeConfigs = { compiler: function() { return traceur(traceurJsOptions); }, - transpileSrc: ['modules/*/src/**/*.es*', 'tools/rtts-assert/src/assert.js'], + transpileSrc: ['modules/**/*.es*', 'tools/rtts-assert/src/assert.js'], htmlSrc: ['modules/*/src/**/*.html'], copySrc: ['tools/traceur/bin/traceur-runtime.js'], outputDir: 'build/js', @@ -59,7 +59,7 @@ gulp.task('modules/clean', function() { }); function removeSrc(path) { - path.dirname = path.dirname.replace('/src', ''); + //path.dirname = path.dirname.replace('/src', ''); } function createModuleTask(sourceTypeConfig, isWatch) {