First hook in the angular build to run ts2dart.

This expects files we are interested in to have the '.ts' extension.
This commit is contained in:
Alex Eagle 2015-03-18 14:42:18 -07:00
parent 2ff2ce3c6c
commit 7234d368e3

View File

@ -345,6 +345,14 @@ gulp.task('build/transpile.dart', transpile(gulp, gulpPlugins, {
srcFolderInsertion: CONFIG.srcFolderInsertion.dart
}));
var ts2dart = require('gulp-ts2dart');
gulp.task('build/transpile.dart.experimental', function() {
gulp.src('modules/**/*.ts')
.pipe(ts2dart.transpile())
.pipe(ts2dart.format())
.pipe(gulp.dest(CONFIG.dest.dart))
});
// ------------
// html