From 5e038c3ef227bd2cc775e32185a58b2c1aa81bd5 Mon Sep 17 00:00:00 2001 From: Paul Gschwendtner Date: Fri, 10 Feb 2017 22:41:35 +0100 Subject: [PATCH] build: fix invalid glob to remove specs (#3019) * 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. --- tools/gulp/tasks/release.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/gulp/tasks/release.ts b/tools/gulp/tasks/release.ts index 3e089c45770..5e982c0ac6f 100644 --- a/tools/gulp/tasks/release.ts +++ b/tools/gulp/tasks/release.ts @@ -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) {