root/main/trunk/greenstone3/gs3-devel.bat @ 32371

Revision 29748, 0.6 KB (checked in by ak19, 5 years ago)

Creating toplevel gs3-devel.bat for Windows as equivalent for existing linux gs3-devel.sh

Line 
1@echo off
2
3call gs3-setup.bat
4
5if exist gs2build\devel.bat (
6    echo.
7    echo Sourcing gs2build\devel.bat
8    cd gs2build && call devel.bat && cd ..
9)
10
11if not "gsopt_noexts" == "" (
12    if exist ext (
13        for /D %%e IN ("ext/*") do (       
14            cd ext\%%e
15            if EXIST gs3-devel.bat (
16                call gs3-devel.bat
17            ) else (
18              if EXIST devel.bat call devel.bat
19            )
20            cd ..\..
21        )
22    )
23)
24
25if exist local (
26    if exist local\gs3-devel.bat (
27        echo.
28        echo Sourcing local\gs3-develbat
29        cd local && call gs3-devel.bat && cd ..
30    )
31)
32
33echo Adding devel\bin\script to PATH
34
35set PATH=%PATH%;%GSDL3SRCHOME%\devel\bin\script
36
37echo.
Note: See TracBrowser for help on using the browser.