Added setenv.bat to set up location of Arcanist -- for people who dont want to put it on the system path.

Summary: Adds a file called setenv.bat.dist, which can be renamed as setenv.bat and used to set the path to arcanist -- for people who don't want to put arcanist on their systemwide or user path.

Test Plan:
Rename setenv.bat.dist to setenv.bat
Change ARC_HOME in the batch file to point to the location of arcanist
run setenv.bat from a clean command prompt
try to run arc

Reviewers: #ss14_developers, Kraso

Reviewed By: #ss14_developers, Kraso

Differential Revision: http://phab.nexisonline.net/D17
This commit is contained in:
volundr
2015-01-20 14:57:09 +00:00
committed by Hornygranny
parent 24e303008b
commit 38f3526ac0
2 changed files with 4 additions and 0 deletions

1
.gitignore vendored
View File

@@ -51,3 +51,4 @@ _ReSharper*/
/Resources/textures/*.TAI
/Resources/SpriteRenderer/Ogre.log
/Media
/setenv.bat

3
setenv.bat.dist Normal file
View File

@@ -0,0 +1,3 @@
SET ARC_HOME=E:\dev\arcanist\arcanist
call arc.bat > nul 2>&1
if %ERRORLEVEL%==9009 SET PATH=%PATH%;%ARC_HOME%\bin