Skip to content

Instantly share code, notes, and snippets.

@notmasteryet
Created December 24, 2011 19:41
Show Gist options
  • Save notmasteryet/1518181 to your computer and use it in GitHub Desktop.
Save notmasteryet/1518181 to your computer and use it in GitHub Desktop.
Mozilla build environment start file with out Visual Studio check (plus git)
@echo off
SETLOCAL
SET MOZBUILDDIR=%~dp0
SET MOZILLABUILD=%MOZBUILDDIR%
echo "Mozilla tools directory: %MOZBUILDDIR%"
REM Git path
set GIT_ROOT=C:\Program Files\Git
set GIT_ROOT_x86=C:\Program Files (x86)\Git
REM Use the "new" moztools-static
set MOZ_TOOLS=%MOZBUILDDIR%moztools
rem append moztools to PATH
SET PATH=%PATH%;%MOZ_TOOLS%\bin;%GIT_ROOT%\bin;%GIT_ROOT_x86%\bin
cd "%USERPROFILE%"
"%MOZILLABUILD%\msys\bin\bash" --login -i
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment