Skip to content

Commit

Permalink
build: fix invalid glob to remove specs (#3019)
Browse files Browse the repository at this point in the history
* Fixes an invalid glob that is used to cleanup the dist folder before cutting a release.
   Currently all spec.d.ts files will be shipped as well.
  • Loading branch information
devversion authored and tinayuangao committed Feb 10, 2017
1 parent c668b07 commit 5e038c3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tools/gulp/tasks/release.ts
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ const argv = minimist(process.argv.slice(3));

/** Removes redundant spec files from the release. TypeScript creates definition files for specs. */
// TODO(devversion): tsconfig files should share code and don't generate spec files for releases.
task(':build:release:clean-spec', cleanTask('dist/**/*(-|.)spec.*'));
task(':build:release:clean-spec', cleanTask('dist/**/*+(-|.)spec.*'));


task('build:release', function(done: () => void) {
Expand Down

0 comments on commit 5e038c3

Please sign in to comment.