forked from microsoft/botbuilder-js
-
Notifications
You must be signed in to change notification settings - Fork 0
/
prep-test.cmd
32 lines (26 loc) · 833 Bytes
/
prep-test.cmd
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
@echo off
setlocal
set keys="\\fusebox\private\sdk\UnitTestKeys.cmd"
if exist %keys% (
echo Setting internal microsoft keys--ensure tests can run without them
endlocal
call %keys%
setlocal
)
set storage="%ProgramFiles(x86)%\Microsoft SDKs\Azure\Storage Emulator\azurestorageemulator.exe"
if exist %storage% (
echo Starting storage emulator
%storage% start
) else (
echo You don't have Azure Storage Emulator installed
echo go to https://go.microsoft.com/fwlink/?LinkId=717179 to download and install
)
set cosmos="%ProgramFiles%\Azure Cosmos DB Emulator\CosmosDB.Emulator.exe"
if exist %cosmos% (
echo Starting cosmos db emulator
%cosmos% /NoUI /NoExplorer
) else (
echo You don't have Azure Cosmos DB Emulator installed
echo go to https://aka.ms/cosmosdb-emulator to download and install
)
endlocal