mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2025-08-20 04:14:21 +08:00
chore(gulpfile): cleanup
This commit is contained in:
13
gulpfile.js
13
gulpfile.js
@ -15,10 +15,9 @@ var connect = require('gulp-connect');
|
||||
var docsConfig = require('./scripts/config.json');
|
||||
|
||||
var flagConfig = {
|
||||
string: ['port', 'version', 'ngVersion', 'animations', 'strip-debug'],
|
||||
boolean: ['dry-run'],
|
||||
alias: {'p': 'port', 'v': 'version', 'a': 'ngVersion'},
|
||||
default: { port: 8000 }
|
||||
string: ['port', 'animations', 'strip-debug'],
|
||||
alias: {'p': 'port'},
|
||||
default: { 'port': 8000 }
|
||||
};
|
||||
var flags = minimist(process.argv.slice(2), flagConfig);
|
||||
|
||||
@ -441,12 +440,6 @@ gulp.task('copy.libs', function() {
|
||||
return merge([webAnimations, libs]);
|
||||
})
|
||||
|
||||
gulp.task('src.link', function(done) {
|
||||
watch(['/ionic/**/*.ts', 'ionic/**/*.scss'], function(file) {
|
||||
gulp.start('src');
|
||||
});
|
||||
})
|
||||
|
||||
gulp.task('src', function(done){
|
||||
runSequence(
|
||||
'clean',
|
||||
|
Reference in New Issue
Block a user