2016-10-04 23:39:20 -04:00
|
|
|
/**
|
|
|
|
* @license
|
2020-05-19 15:08:49 -04:00
|
|
|
* Copyright Google LLC All Rights Reserved.
|
2016-10-04 23:39:20 -04: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 17:45:08 -04:00
|
|
|
'use strict';
|
|
|
|
|
2016-05-25 22:54:34 -04:00
|
|
|
const gulp = require('gulp');
|
2015-11-27 02:45:40 -05:00
|
|
|
|
2017-02-03 03:10:41 -05: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 19:23:15 -04:00
|
|
|
|
2019-01-28 19:13:29 -05:00
|
|
|
|
2017-09-07 13:16:03 -04:00
|
|
|
gulp.task('source-map-test', loadTask('source-map-test'));
|
2019-07-26 02:50:39 -04:00
|
|
|
gulp.task('changelog:zonejs', loadTask('changelog-zonejs'));
|
2021-06-08 12:40:57 -04:00
|
|
|
gulp.task('cldr:extract', loadTask('cldr', 'extract'));
|
|
|
|
gulp.task('cldr:download', loadTask('cldr', 'download'));
|
|
|
|
gulp.task('cldr:gen-closure-locale', loadTask('cldr', 'closure'));
|