import
[web.mtrack] / bin / setup.bat
1 @ECHO OFF
2 REM This is the windows equivalent of the setup bash script in this directory
3
4 REM Please change this variable to point to your php.exe location, please do not place quotation marks around the path
5 SET PHP_BIN=C:\Program Files\PHP\php.exe
6 SET PROJ_NAM=
7 SET REPO_NAME=
8 SET REPO_PATH=
9 SET REPO_TYPE=svn
10
11 REM Do not edit beyond this point
12
13 IF EXIST %CD%/init.php GOTO CDONEUP
14 IF EXIST %CD%/init.php GOTO CDONEUP
15 IF EXIST %CD%/bin/init.php GOTO RUN
16
17 ECHO "Error: cannot find bin\init.php, you can double click on setup.bat to run me properly"
18
19 :CDONEUP
20 CD ../
21
22 :RUN
23
24 CALL "%PHP_BIN%" "%CD%\bin\init.php" --repo %REPO_NAME% %REPO_TYPE% %REPO_PATH%
25    --link %PROJ_NAME% %REPO_NAME% /%*
26 PAUSE