Skip to content
This repository was archived by the owner on Dec 4, 2017. It is now read-only.

Commit d12b74d

Browse files
Eric Jimeneznaomiblack
Eric Jimenez
authored andcommitted
fix(gulp): rename angular2 to @angular, fixes api doc examples
1 parent 6c797d7 commit d12b74d

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

gulpfile.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ var _devguideShredJadeOptions = {
6060
};
6161

6262
var _apiShredOptions = {
63-
examplesDir: path.join(ANGULAR_PROJECT_PATH, 'modules/angular2/examples'),
63+
examplesDir: path.join(ANGULAR_PROJECT_PATH, 'modules/@angular/examples'),
6464
fragmentsDir: path.join(DOCS_PATH, '_fragments/_api'),
6565
zipDir: path.join(RESOURCES_PATH, 'zips/api')
6666
};
@@ -849,7 +849,7 @@ function filterOutExcludedPatterns(fileNames, excludeMatchers) {
849849
}
850850

851851
function apiSourceWatch(postBuildAction) {
852-
var srcPattern = [path.join(ANGULAR_PROJECT_PATH, 'modules/angular2/src/**/*.*')];
852+
var srcPattern = [path.join(ANGULAR_PROJECT_PATH, 'modules/@angular/src/**/*.*')];
853853
gulp.watch(srcPattern, {readDelay: 500}, function (event, done) {
854854
gutil.log('API source changed');
855855
gutil.log('Event type: ' + event.event); // added, changed, or deleted
@@ -860,7 +860,7 @@ function apiSourceWatch(postBuildAction) {
860860
}
861861

862862
function apiExamplesWatch(postShredAction) {
863-
var examplesPath = path.join(ANGULAR_PROJECT_PATH, 'modules/angular2/examples/**');
863+
var examplesPath = path.join(ANGULAR_PROJECT_PATH, 'modules/@angular/examples/**');
864864
var includePattern = path.join(examplesPath, '**/*.*');
865865
var excludePattern = '!' + path.join(examplesPath, '**/node_modules/**/*.*');
866866
var cleanPath = [path.join(_apiShredOptions.fragmentsDir, '**/*.*'), '!**/*.ovr.*'];

0 commit comments

Comments
 (0)