-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathInstall.cmd
More file actions
36 lines (32 loc) · 1.21 KB
/
Install.cmd
File metadata and controls
36 lines (32 loc) · 1.21 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
@ECHO OFF
SETLOCAL
where /q git
IF %ERRORLEVEL% == 1 (
ECHO This setup script requires that git be in the system path.
GOTO :eof
)
SET MSBUILD=%WINDIR%\Microsoft.NET\Framework\v4.0.30319\msbuild.exe
IF NOT EXIST "%MSBuild%" (
ECHO The Shomrei Torah Suite requires .Net 4.0.
GOTO :eof
)
PUSHD %~dp0\..
SET REMOTE_BASE=https://github.com/ShomreiTorah
ECHO Cloning projects
git clone 2>nul %REMOTE_BASE%/Libraries Libraries
git clone 2>nul %REMOTE_BASE%/Utilities Utilities
git clone 2>nul %REMOTE_BASE%/Billing Applications/Billing
git clone 2>nul %REMOTE_BASE%/Schedulizer Applications/Schedulizer
git clone 2>nul %REMOTE_BASE%/Rafflizer Applications/Rafflizer
git clone 2>nul %REMOTE_BASE%/Journal Applications/Journal
ECHO Setting up private Config directory...
git init -q Config
mkdir "Config\Email Templates\" 2>nul
mkdir "Config\Word Templates\" 2>nul
copy "Template Files\Email Templates" "Config\Email Templates\" >nul
copy "Template Files\Word Templates" "Config\Word Templates\" >nul
ECHO Building Configurator...
"%MSBuild%" "Setup\Configurator\ShomreiTorah-Configurator.sln" /target:rebuild /property:Configuration=Release /noconlog /nologo /v:q
start Setup\Configurator\bin\Release\Configurator.exe
POPD
ENDLOCAL