2018-01-30 04:57:14 +03:00
|
|
|
@echo off
|
2018-08-17 01:35:24 +03:00
|
|
|
setlocal
|
|
|
|
|
|
|
|
set keys="\\fusebox\private\sdk\UnitTestKeys.cmd"
|
|
|
|
if exist %keys% (
|
|
|
|
echo Setting internal microsoft keys--ensure tests can run without them
|
2018-08-17 07:58:25 +03:00
|
|
|
endlocal
|
2018-08-17 01:35:24 +03:00
|
|
|
call %keys%
|
2018-08-17 07:58:25 +03:00
|
|
|
setlocal
|
2018-08-17 01:35:24 +03:00
|
|
|
)
|
|
|
|
|
|
|
|
set storage="%ProgramFiles(x86)%\Microsoft SDKs\Azure\Storage Emulator\azurestorageemulator.exe"
|
|
|
|
if exist %storage% (
|
|
|
|
echo Starting storage emulator
|
|
|
|
%storage% start
|
2018-01-30 04:57:14 +03:00
|
|
|
) else (
|
2018-08-17 01:35:24 +03:00
|
|
|
echo You don't have Azure Storage Emulator installed
|
|
|
|
echo go to https://go.microsoft.com/fwlink/?LinkId=717179 to download and install
|
2018-01-30 04:57:14 +03:00
|
|
|
)
|
2018-02-01 00:02:43 +03:00
|
|
|
|
2018-08-17 01:35:24 +03:00
|
|
|
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
|
|
|
|
|
|
|
|
|
|
|
|
|