mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2025-08-19 11:41:20 +08:00
build before snapshot
This commit is contained in:
20
gulpfile.js
20
gulpfile.js
@ -53,7 +53,7 @@ var tscReporter = {
|
||||
}
|
||||
};
|
||||
|
||||
gulp.task('clean.build', function() {
|
||||
gulp.task('clean.build', function(done) {
|
||||
runSequence(
|
||||
'clean',
|
||||
'transpile',
|
||||
@ -61,20 +61,24 @@ gulp.task('clean.build', function() {
|
||||
'e2e',
|
||||
'sass',
|
||||
'fonts',
|
||||
'vendor');
|
||||
'vendor',
|
||||
done
|
||||
);
|
||||
})
|
||||
|
||||
gulp.task('build', function() {
|
||||
gulp.task('build', function(done) {
|
||||
runSequence(
|
||||
'transpile',
|
||||
'bundle.js',
|
||||
'e2e',
|
||||
'sass',
|
||||
'fonts',
|
||||
'vendor');
|
||||
'vendor',
|
||||
done
|
||||
);
|
||||
})
|
||||
|
||||
gulp.task('watch', function() {
|
||||
gulp.task('watch', function(done) {
|
||||
|
||||
runSequence(
|
||||
'transpile',
|
||||
@ -84,7 +88,6 @@ gulp.task('watch', function() {
|
||||
'fonts',
|
||||
'vendor',
|
||||
'serve',
|
||||
|
||||
function() {
|
||||
watch(
|
||||
[
|
||||
@ -109,7 +112,10 @@ gulp.task('watch', function() {
|
||||
watch('ionic/**/*.scss', function() {
|
||||
gulp.start('sass');
|
||||
});
|
||||
})
|
||||
|
||||
done();
|
||||
}
|
||||
);
|
||||
});
|
||||
|
||||
gulp.task('serve', function() {
|
||||
|
Reference in New Issue
Block a user