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.

49 lines
1.4 KiB

  1. /*******************************
  2. Admin Task Collection
  3. *******************************/
  4. /*
  5. This are tasks to be run by project maintainers
  6. - Creating Component Repos
  7. - Syncing with GitHub via APIs
  8. - Modifying package files
  9. */
  10. /*******************************
  11. Tasks
  12. *******************************/
  13. module.exports = function(gulp) {
  14. var
  15. // less/css distributions
  16. initComponents = require('../admin/components/init'),
  17. createComponents = require('../admin/components/create'),
  18. updateComponents = require('../admin/components/update'),
  19. // single component releases
  20. initDistributions = require('../admin/distributions/init'),
  21. createDistributions = require('../admin/distributions/create'),
  22. updateDistributions = require('../admin/distributions/update'),
  23. release = require('../admin/release'),
  24. publish = require('../admin/publish'),
  25. register = require('../admin/register')
  26. ;
  27. /* Release */
  28. gulp.task('init distributions', initDistributions);
  29. gulp.task('create distributions', createDistributions);
  30. gulp.task('init components', initComponents);
  31. gulp.task('create components', createComponents);
  32. /* Publish */
  33. gulp.task('update distributions', updateDistributions);
  34. gulp.task('update components', updateComponents);
  35. /* Tasks */
  36. gulp.task('release', release);
  37. gulp.task('publish', publish);
  38. gulp.task('register', register);
  39. };