From 32f1589d49c341396517256ec223d7688bea74db Mon Sep 17 00:00:00 2001 From: Paul Gschwendtner Date: Thu, 9 Feb 2017 20:51:56 +0100 Subject: [PATCH] build: fix invalid glob to remove specs * 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 3e089c457705..5e982c0ac6fa 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) {