Skip to content

Commit e45ecd6

Browse files
committed
chare: changed gulp to support test folder
1 parent 6e4477f commit e45ecd6

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

gulpfile.js

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -34,9 +34,9 @@ var sourceTypeConfigs = {
3434
compiler: function() {
3535
return js2dart({replace: true});
3636
},
37-
transpileSrc: ['modules/*/src/**/*.es6d'],
37+
transpileSrc: ['modules/**/*.es6d'],
3838
htmlSrc: ['modules/*/src/**/*.html'],
39-
copySrc: ['modules/*/src/**/*.dart'],
39+
copySrc: ['modules/**/*.dart'],
4040
outputDir: 'build/dart',
4141
outputExt: 'dart',
4242
mimeType: 'application/dart'
@@ -45,7 +45,7 @@ var sourceTypeConfigs = {
4545
compiler: function() {
4646
return traceur(traceurJsOptions);
4747
},
48-
transpileSrc: ['modules/*/src/**/*.es*', 'tools/rtts-assert/src/assert.js'],
48+
transpileSrc: ['modules/**/*.es*', 'tools/rtts-assert/src/assert.js'],
4949
htmlSrc: ['modules/*/src/**/*.html'],
5050
copySrc: ['tools/traceur/bin/traceur-runtime.js'],
5151
outputDir: 'build/js',
@@ -59,7 +59,7 @@ gulp.task('modules/clean', function() {
5959
});
6060

6161
function removeSrc(path) {
62-
path.dirname = path.dirname.replace('/src', '');
62+
//path.dirname = path.dirname.replace('/src', '');
6363
}
6464

6565
function createModuleTask(sourceTypeConfig, isWatch) {

0 commit comments

Comments
 (0)