зеркало из https://github.com/mozilla/pjs.git
31 строка
807 B
Batchfile
31 строка
807 B
Batchfile
|
@echo off
|
|||
|
|
|||
|
SET MOZ_MSVCVERSION=8
|
|||
|
|
|||
|
SET MOZILLABUILDDRIVE=%~d0%
|
|||
|
SET MOZILLABUILDPATH=%~p0%
|
|||
|
SET MOZILLABUILD=%MOZILLABUILDDRIVE%%MOZILLABUILDPATH%
|
|||
|
|
|||
|
echo "Mozilla tools directory: %MOZILLABUILD%"
|
|||
|
|
|||
|
REM Get MSVC paths
|
|||
|
call "%MOZILLABUILD%\guess-msvc.bat"
|
|||
|
|
|||
|
if "%VC8DIR%"=="Not Found" (
|
|||
|
ECHO "Microsoft Visual C++ version 8 was not found. Exiting."
|
|||
|
pause
|
|||
|
EXIT /B 1
|
|||
|
)
|
|||
|
|
|||
|
REM Use the "new" moztools-static
|
|||
|
set MOZ_TOOLS=%MOZILLABUILD%\moztools
|
|||
|
|
|||
|
rem append moztools to PATH
|
|||
|
SET PATH=%PATH%;%MOZ_TOOLS%\bin
|
|||
|
|
|||
|
rem Prepend MSVC paths
|
|||
|
call "%VC8DIR%\Bin\vcvars32.bat"
|
|||
|
|
|||
|
cd "%USERPROFILE%"
|
|||
|
start "MSYS Shell - MSVC8 Environment" "%MOZILLABUILD%\msys\bin\rxvt" -backspacekey -sl 2500 -fg %FGCOLOR% -bg %BGCOLOR% -sr -fn "Lucida Console" -tn msys -geometry 80x25 -e /bin/sh --login -i
|