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.
40 lines
1.3 KiB
40 lines
1.3 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) {
|
|
var
|
|
// single component releases
|
|
initComponents = require('../admin/init-components'),
|
|
createComponents = require('../admin/create-components'),
|
|
updateComponents = require('../admin/update-components'),
|
|
|
|
// one time register with PM
|
|
registerRepos = require('../admin/register-repos'),
|
|
|
|
// meta tasks
|
|
releaseAll = require('../admin/release-all'),
|
|
release = require('../admin/release')
|
|
;
|
|
|
|
gulp.task('init components', 'Grabs each component from GitHub', initComponents);
|
|
gulp.task('create components', 'Updates files in each repo', createComponents);
|
|
gulp.task('update components', 'Commits component updates from create to GitHub', updateComponents);
|
|
|
|
gulp.task('register repos', 'Registers packages with Bower and NPM', registerRepos);
|
|
gulp.task('release all', 'Publishes all releases (components, package)', releaseAll);
|
|
gulp.task('release', 'Publishes only packaged releases', release);
|
|
|
|
};
|