Skip to content
This repository has been archived by the owner on Feb 26, 2024. It is now read-only.

Commit

Permalink
chore: refactor closure build (#844)
Browse files Browse the repository at this point in the history
  • Loading branch information
JiaLiPassion authored and mhevery committed Jul 20, 2017
1 parent 5a010c6 commit ab82852
Show file tree
Hide file tree
Showing 5 changed files with 454 additions and 4 deletions.
8 changes: 7 additions & 1 deletion gulpfile.js
Original file line number Diff line number Diff line change
Expand Up @@ -199,6 +199,11 @@ gulp.task('build/sync-test.js', ['compile-esm'], function(cb) {
return generateScript('./lib/zone-spec/sync-test.ts', 'sync-test.js', false, cb);
});

gulp.task('build/closure.js', function() {
return gulp.src('./lib/closure/zone_externs.js')
.pipe(gulp.dest('./dist'));
});

gulp.task('build', [
'build/zone.js',
'build/zone.js.d.ts',
Expand Down Expand Up @@ -231,7 +236,8 @@ gulp.task('build', [
'build/wtf.min.js',
'build/async-test.js',
'build/fake-async-test.js',
'build/sync-test.js'
'build/sync-test.js',
'build/closure.js'
]);

gulp.task('test/node', ['compile'], function(cb) {
Expand Down
Loading

0 comments on commit ab82852

Please sign in to comment.