chare: changed gulp to support test folder

This commit is contained in:
Misko Hevery 2014-09-19 16:37:56 -07:00
parent 6e4477fc08
commit e45ecd6d58
1 changed files with 4 additions and 4 deletions

View File

@ -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) {