Skip to content

Commit

Permalink
chore(gulp): add dividers to gulpfile
Browse files Browse the repository at this point in the history
  • Loading branch information
amit-bansil committed Aug 3, 2016
1 parent 0038dd5 commit dcfbb5b
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions gulpfile.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,9 @@ var fs = require('fs');
var sourcemaps = require('gulp-sourcemaps');
var babel = require('gulp-babel');

gulp.task('build-npm', ['setupNpm', 'babel', 'lint']);

//------------------------------------------------------------------------------
//setup for development use
gulp.task('setupDev', () => {
getDevPluginXML();
Expand All @@ -15,8 +18,6 @@ gulp.task('setupNpm', () => {
setIosNpmOrDev('npm');
});

gulp.task('build-npm', ['setupNpm', 'babel']);

//generate plugin.xml for use as a cordova plugin
//here we explode the contents of the frameworks
function genNpmPluginXML(){
Expand Down Expand Up @@ -75,7 +76,8 @@ function emitFiles(path){
return ret;
}

//copy resources and compile es6 from corresponding directory
//------------------------------------------------------------------------------
//copy resources and compile es6 from corresponding directories
babelTasks = []; //list of all babel tasks so we can build all of them
function babelize(taskName, dir){
babelTasks.push(taskName + '-babel');
Expand Down

0 comments on commit dcfbb5b

Please sign in to comment.