anchor.diff:  		IF %ERRORLEVEL% EQU 1 echo OKCOPY
   		IF %ERRORLEVEL% EQU 0 echo No Change
   
  -		IF EXIST "%ARTIFACTS%\AzureFunctions.AngularClient\node_modules\swagger-editor" (
  +		IF EXIST "%DEPLOYMENT_SOURCE%\AzureFunctions.AngularClient\node_modules\swagger-editor" (
   			echo Copy Swagger Editor to output
  -			echo ROBOCOPY "%ARTIFACTS%\AzureFunctions.AngularClient\node_modules\swagger-editor" "%DEPLOYMENT_TEMP%\node_modules\swagger-editor" /E /IS
  -			call :ExecuteCmd ROBOCOPY "%ARTIFACTS%\AzureFunctions.AngularClient\node_modules\swagger-editor" "%DEPLOYMENT_TEMP%\node_modules\swagger-editor" /E /IS
  +			echo ROBOCOPY "%DEPLOYMENT_SOURCE%\AzureFunctions.AngularClient\node_modules\swagger-editor" "%DEPLOYMENT_TEMP%\node_modules\swagger-editor" /E /IS
  +			call :ExecuteCmd ROBOCOPY "%DEPLOYMENT_SOURCE%\AzureFunctions.AngularClient\node_modules\swagger-editor" "%DEPLOYMENT_TEMP%\node_modules\swagger-editor" /E /IS
   			:: http://ss64.com/nt/robocopy-exit.html
   			IF %ERRORLEVEL% EQU 16 echo ***FATAL ERROR*** & goto error
   			IF %ERRORLEVEL% EQU 15 echo OKCOPY + FAIL + MISMATCHES + XTRA & goto error
  
positive.code: call npm config set prefix "%HOME%\tools"
  IF !ERRORLEVEL! NEQ 0 goto error
  
  IF NOT DEFINED KUDU_SYNC_CMD (
    :: Install kudu sync
    echo Installing Kudu Sync
    call npm install kudusync -g --silent
    IF !ERRORLEVEL! NEQ 0 goto error
  
    :: Locally just running "kuduSync" would also work
    SET KUDU_SYNC_CMD=%appdata%\npm\kuduSync.cmd
  )
  
  IF NOT DEFINED YARN (
    :: Install yarn
    echo Installing yarn
    call npm install -g yarn
  
    IF !ERRORLEVEL! NEQ 0 goto error
  
    SET YARN=true
  )
  
  IF NOT DEFINED ANGUALR_CLI (
    :: Install angular-cli
    echo Installing @angular/cli
    call npm install -g @angular/cli@1.0.0
  
    IF !ERRORLEVEL! NEQ 0 goto error
  
    SET ANGUALR_CLI=true
  )
  
  IF NOT DEFINED DEPLOYMENT_TEMP (
    SET DEPLOYMENT_TEMP=%temp%\___deployTemp%random%
    SET CLEAN_LOCAL_DEPLOYMENT_TEMP=true
  )
  
  IF DEFINED CLEAN_LOCAL_DEPLOYMENT_TEMP (
    IF EXIST "%DEPLOYMENT_TEMP%" rd /s /q "%DEPLOYMENT_TEMP%"
    mkdir "%DEPLOYMENT_TEMP%"
  )
  
  IF DEFINED MSBUILD_PATH goto MsbuildPathDefined
  SET MSBUILD_PATH=%ProgramFiles(x86)%\MSBuild\14.0\Bin\MSBuild.exe
  
negative.code: echo ARTIFACTS=%ARTIFACTS%
  echo DEPLOYMENT_SOURCE=%DEPLOYMENT_SOURCE%
  echo DEPLOYMENT_TARGET=%DEPLOYMENT_TARGET%
  echo NEXT_MANIFEST_PATH=%NEXT_MANIFEST_PATH%
  echo PREVIOUS_MANIFEST_PATH=%PREVIOUS_MANIFEST_PATH%
  echo DEPLOYMENT_TEMP=%DEPLOYMENT_TEMP%
  echo IN_PLACE_DEPLOYMENT=%IN_PLACE_DEPLOYMENT%
  echo ANGUALR_CLI=%ANGUALR_CLI%
  
  setlocal enabledelayedexpansion
  
  SET ARTIFACTS=%~dp0%..\artifacts
  
  IF NOT EXIST "%HOME%\tools" (MKDIR "%HOME%\tools")
  
  