2016-10-04 20:39:20 -07:00
|
|
|
/**
|
|
|
|
* @license
|
2020-05-19 12:08:49 -07:00
|
|
|
* Copyright Google LLC All Rights Reserved.
|
2016-10-04 20:39:20 -07:00
|
|
|
*
|
|
|
|
* Use of this source code is governed by an MIT-style license that can be
|
|
|
|
* found in the LICENSE file at https://angular.io/license
|
|
|
|
*/
|
|
|
|
|
2015-04-25 14:45:08 -07:00
|
|
|
'use strict';
|
|
|
|
|
2016-05-25 19:54:34 -07:00
|
|
|
const gulp = require('gulp');
|
2015-11-26 23:45:40 -08:00
|
|
|
|
2017-02-03 08:10:41 +00:00
|
|
|
// See `tools/gulp-tasks/README.md` for information about task loading.
|
|
|
|
function loadTask(fileName, taskName) {
|
|
|
|
const taskModule = require('./tools/gulp-tasks/' + fileName);
|
|
|
|
const task = taskName ? taskModule[taskName] : taskModule;
|
|
|
|
return task(gulp);
|
|
|
|
}
|
2016-06-23 16:23:15 -07:00
|
|
|
|
2019-01-28 16:13:29 -08:00
|
|
|
|
2017-09-07 10:16:03 -07:00
|
|
|
gulp.task('source-map-test', loadTask('source-map-test'));
|
2019-07-25 23:50:39 -07:00
|
|
|
gulp.task('changelog:zonejs', loadTask('changelog-zonejs'));
|
2017-07-20 10:54:07 +02:00
|
|
|
gulp.task('cldr:extract', loadTask('cldr', 'extract'));
|
2020-10-20 09:01:23 -07:00
|
|
|
gulp.task('cldr:download', loadTask('cldr', 'download'));
|
2017-08-21 19:11:07 +02:00
|
|
|
gulp.task('cldr:gen-closure-locale', loadTask('cldr', 'closure'));
|