mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2025-08-18 19:21:34 +08:00
rename tsResult to tsCompile
This commit is contained in:
@ -117,7 +117,7 @@ gulp.task('clean', function(done) {
|
||||
del(['dist/**', '!dist'], done);
|
||||
});
|
||||
|
||||
function tsResult(options, cacheName){
|
||||
function tsCompile(options, cacheName){
|
||||
return gulp.src([
|
||||
'ionic/**/*.ts',
|
||||
'!ionic/components/*/test/**/*',
|
||||
@ -130,15 +130,16 @@ function tsResult(options, cacheName){
|
||||
this.emit('end');
|
||||
});
|
||||
}
|
||||
|
||||
gulp.task('transpile.no-typecheck', function(){
|
||||
return tsResult(tscOptionsNoTypeCheck, 'no-typecheck')
|
||||
return tsCompile(tscOptionsNoTypeCheck, 'no-typecheck')
|
||||
.pipe(gulp.dest('dist'));
|
||||
});
|
||||
|
||||
gulp.task('transpile.typecheck', function(){
|
||||
var merge = require('merge2');
|
||||
|
||||
var result = tsResult(tscOptions, 'typecheck');
|
||||
var result = tsCompile(tscOptions, 'typecheck');
|
||||
|
||||
// merge definition and source streams
|
||||
return merge([
|
||||
|
Reference in New Issue
Block a user