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
49 lines
1.4 KiB
/*******************************
|
|
Admin Task Collection
|
|
*******************************/
|
|
|
|
/*
|
|
This are tasks to be run by project maintainers
|
|
- Creating Component Repos
|
|
- Syncing with GitHub via APIs
|
|
- Modifying package files
|
|
*/
|
|
|
|
/*******************************
|
|
Tasks
|
|
*******************************/
|
|
|
|
|
|
module.exports = function(gulp) {
|
|
let
|
|
// less/css distributions
|
|
initComponents = require('../admin/components/init'),
|
|
createComponents = require('../admin/components/create'),
|
|
updateComponents = require('../admin/components/update'),
|
|
|
|
// single component releases
|
|
initDistributions = require('../admin/distributions/init'),
|
|
createDistributions = require('../admin/distributions/create'),
|
|
updateDistributions = require('../admin/distributions/update'),
|
|
|
|
release = require('../admin/release'),
|
|
publish = require('../admin/publish'),
|
|
register = require('../admin/register')
|
|
;
|
|
|
|
/* Release */
|
|
gulp.task('init distributions', initDistributions);
|
|
gulp.task('create distributions', createDistributions);
|
|
gulp.task('init components', initComponents);
|
|
gulp.task('create components', createComponents);
|
|
|
|
/* Publish */
|
|
gulp.task('update distributions', updateDistributions);
|
|
gulp.task('update components', updateComponents);
|
|
|
|
/* Tasks */
|
|
gulp.task('release', release);
|
|
gulp.task('publish', publish);
|
|
gulp.task('register', register);
|
|
|
|
};
|