From 086870363a31071a6c1726a48600f2c16fff9894 Mon Sep 17 00:00:00 2001 From: praveenkuttappan <55455725+praveenkuttappan@users.noreply.github.com> Date: Tue, 8 Jun 2021 13:36:47 -0400 Subject: [PATCH] Skip track1 perf projects from gulp pack (#15436) * Skip track1 perf projects from gulp pack --- .scripts/common.ts | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.scripts/common.ts b/.scripts/common.ts index 8ca3190c2e89..29ddcf233029 100644 --- a/.scripts/common.ts +++ b/.scripts/common.ts @@ -107,6 +107,10 @@ function isPackageFolderPath(folderPath: string, packagesToIgnore: string[]): bo const packageJsonFilePath: string = joinPath(folderPath, "package.json"); if (fileExistsSync(packageJsonFilePath)) { const packageJson: PackageJson = readPackageJsonFileSync(packageJsonFilePath); + // Skip all perf framework projects from gulp pack + if (packageJson.name.startsWith("@azure-tests/")) { + return false; + } result = !contains(packagesToIgnore, packageJson.name!); } return result;