servo/mach.bat
author Randell Jesup <rjesup@jesup.org>
Thu, 06 Apr 2017 23:23:44 -0400
changeset 351784 c858836be29efd3b0634ebc3532d220e32b342e8
parent 341403 2eb307670a4fcc2cb6d003fcb7dd762b1e1e7fcd
child 352478 de39420cc624efdc9bfd620626211569d912ce2d
permissions -rw-r--r--
Bug 1354068: fix uninitialized rv in some paths in nsWebShellWindow r=bdahl MozReview-Commit-ID: LyQUAvVXlr2

@echo off

SET VS_VCVARS=%VS140COMNTOOLS%..\..\VC\vcvarsall.bat
IF EXIST "%VS_VCVARS%" (
  IF NOT DEFINED Platform (
    IF EXIST "%ProgramFiles(x86)%" (
      call "%VS_VCVARS%" x64
    ) ELSE (
      ECHO 32-bit Windows is currently unsupported.
      EXIT /B
    )
  )
) ELSE (
  ECHO Visual Studio 2015 is not installed.
  ECHO Download and install Visual Studio 2015 from https://www.visualstudio.com/
  EXIT /B
)

python mach %*