You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

24 lines
496 B

  1. /*******************************
  2. Clean Task
  3. *******************************/
  4. var
  5. gulp = require('gulp'),
  6. del = require('del'),
  7. config = require('./config/user'),
  8. tasks = require('./config/tasks'),
  9. {series, parallel} = gulp,
  10. clean
  11. ;
  12. // cleans distribution files
  13. clean = function(callback) {
  14. return del([config.paths.clean], tasks.settings.del, callback);
  15. };
  16. clean.displayName = 'clean';
  17. clean.description = 'Cleans dist folder';
  18. module.exports = series(clean);