anchor.diff:  @echo non-default location, you need to set environment variable UV4 to 
   @echo the path of the executable
   @exit /B 1
  +
  +:error_armpath
  +@echo Error: Need to set environment variable ARM_PATH to 
  +@echo the path of ARM compiler
  +@exit /B 1
  
positive.code: @if %project_tool%==mbedcli (
  	@REM setup mbed dependencies
  	echo Building for mbed cli
  	@REM uncomment these next two lines when the update to mbed-os merge the test dependency
  	@REM mbed deploy
  	@REM mbed update
  	mbed config root .
  	mbed config ARM_PATH=%ARM_PATH%
  	python tools/mbedcli_compile.py --clean --release
  	@if %errorlevel% neq 0 exit /B %errorlevel%
  	python tools/copy_release_files.py --project-tool mbedcli
  
negative.code: :: See the License for the specific language governing permissions and
  :: limitations under the License.
  ::
  setlocal enabledelayedexpansion
  @rem Script assumes working directory is workspace root. Force it.
  cd %~dp0..\
  
  @rem See if we can find uVision. This logic is consistent with progen
  @if [%UV4%]==[] (
  	@echo UV4 variable is not set, trying to autodetect..
  	if EXIST c:\keil\uv4\uv4.exe (
  		set UV4=c:\keil\uv4\uv4.exe
  	) else if EXIST c:\keil_v5\uv4\uv4.exe (
  		set UV4=c:\keil_v5\uv4\uv4.exe
  	) else goto error_nomdk
  )
  @echo USING UV4=%UV4%
  
  @set project_tool=%1
  @set env_folder=%2
  