Permalink
Cannot retrieve contributors at this time
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
22 lines (17 sloc)
631 Bytes
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* @license | |
* Copyright Google LLC All Rights Reserved. | |
* | |
* 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 | |
*/ | |
'use strict'; | |
const gulp = require('gulp'); | |
// 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); | |
} | |
gulp.task('source-map-test', loadTask('source-map-test')); | |
gulp.task('changelog:zonejs', loadTask('changelog-zonejs')); |