-
Notifications
You must be signed in to change notification settings - Fork 12
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix azure-sdk, consider stderr when processing errors (#146)
- Loading branch information
1 parent
3b3b4da
commit 21609ac
Showing
4 changed files
with
48 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,16 +1,40 @@ | ||
set -x | ||
npm install -g @microsoft/rush | ||
rm -rf azure-sdk | ||
git clone --depth 1 https://github.com/Azure/azure-sdk-for-js.git azure-sdk | ||
cd azure-sdk | ||
START=$(pwd) | ||
rush update | ||
cd sdk/core/core-http | ||
cd sdk/core/core-util | ||
# Sync up all TS versions used internally so they're all linked from a known location | ||
rush add -p "typescript@3.5.1" --dev -m | ||
LOCAL_TS=$(node -e 'console.log(JSON.parse(fs.readFileSync("node_modules/typescript/package.json", "utf8")).version)') | ||
rush add -p "typescript@$LOCAL_TS" --dev -m | ||
# -nervous laugh- | ||
# Relink installed TSes to built TS | ||
cd $START/common/temp/node_modules/.pnpm/typescript@3.5.1/node_modules | ||
cd $START/common/temp/node_modules/.pnpm/typescript@$LOCAL_TS/node_modules | ||
rm -rf typescript | ||
ln -s $TS ./typescript | ||
cd $START | ||
rush rebuild --parallelism 1 | ||
|
||
# Running everything takes a long time; just build the top 20 client packages by downloads. | ||
rush rebuild \ | ||
--to @azure/identity \ | ||
--to @azure/storage-blob \ | ||
--to @azure/keyvault-keys \ | ||
--to @azure/opentelemetry-instrumentation-azure-sdk \ | ||
--to @azure/cosmos \ | ||
--to @azure/keyvault-secrets \ | ||
--to @azure/service-bus \ | ||
--to @azure/openai \ | ||
--to @azure/app-configuration \ | ||
--to @azure/storage-queue \ | ||
--to @azure/storage-file-share \ | ||
--to @azure/event-hubs \ | ||
--to @azure/communication-common \ | ||
--to @azure/data-tables \ | ||
--to @azure/storage-file-datalake \ | ||
--to @azure/search-documents \ | ||
--to @azure/web-pubsub-client \ | ||
--to @azure/maps-common \ | ||
--to @azure/ai-form-recognizer \ | ||
--to @azure/communication-email |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters