rwwarren/door-lock

View on GitHub
mobile/web/gulpfile.js

Summary

Maintainability
A
0 mins
Test Coverage
/* gulpfile.js */

var JSGulp = require('./gulp/JSGulp');

var gulp = require('gulp');

JSGulp.createTask();

gulp.task('watch', ['clean'], function(done) {
  JSGulp.watch();
});

gulp.task('clean', function(done) {
  var totalDone = 0;
  function childDone() {
    if (++totalDone === 1) {
      done();
    }
  };
  JSGulp.clean(childDone);
});

gulp.task('default', ['watch']);