build-tasks-gulp.ts (material2-7.3.6) | : | build-tasks-gulp.ts (material2-7.3.7) | ||
---|---|---|---|---|
skipping to change at line 53 | skipping to change at line 53 | |||
const htmlGlob = join(buildPackage.sourceDir, '**/*.html'); | const htmlGlob = join(buildPackage.sourceDir, '**/*.html'); | |||
// List of watch tasks that need run together with the watch task of the curre nt package. | // List of watch tasks that need run together with the watch task of the curre nt package. | |||
const dependentWatchTasks = buildPackage.dependencies.map(p => `${p.name}:watc h`); | const dependentWatchTasks = buildPackage.dependencies.map(p => `${p.name}:watc h`); | |||
// Path to the schematics output directory if the build package has schematics . | // Path to the schematics output directory if the build package has schematics . | |||
const schematicsDir = join(buildPackage.sourceDir, 'schematics'); | const schematicsDir = join(buildPackage.sourceDir, 'schematics'); | |||
// Pattern matching schematics files to be copied into the output directory. | // Pattern matching schematics files to be copied into the output directory. | |||
const schematicsGlobs = [ | const schematicsGlobs = [ | |||
join(schematicsDir, '**/+(data|files)/**/*'), | join(schematicsDir, '**/files/**/*'), | |||
join(schematicsDir, '**/+(schema|collection|migration).json'), | join(schematicsDir, '**/+(schema|collection|migration).json'), | |||
]; | ]; | |||
/** | /** | |||
* Main tasks for the package building. Tasks execute the different sub-tasks in the correct | * Main tasks for the package building. Tasks execute the different sub-tasks in the correct | |||
* order. | * order. | |||
*/ | */ | |||
task(`${taskName}:clean-build`, sequenceTask('clean', `${taskName}:build`)); | task(`${taskName}:clean-build`, sequenceTask('clean', `${taskName}:build`)); | |||
task(`${taskName}:build`, sequenceTask( | task(`${taskName}:build`, sequenceTask( | |||
End of changes. 1 change blocks. | ||||
1 lines changed or deleted | 1 lines changed or added |