@@ -10,6 +10,7 @@ set NUGET=nuget.exe
1010set SPEC = ..\..\..\Code\Sif3Specification\Sif3Specification.sln
1111set FRAMEWORK = ..\..\..\Code\Sif3Framework\Sif3Framework.sln
1212set DEMOS = ..\..\..\Code\Sif3FrameworkDemo\Sif3FrameworkDemo.sln
13+ set DOCS = ..\..\..\Code\Sif3Documentation\Sif3Documentation.sln
1314
1415set OUTPUT = output
1516
5556goto end
5657:okDEMOS
5758
59+ if exist %DOCS% goto okDOCS
60+ echo Could not find : %DOCS%
61+ pause
62+ goto end
63+ :okDOCS
64+
5865if exist %OUTPUT% goto okOUTPUT
5966echo Creating folder : %OUTPUT%
6067mkdir %OUTPUT%
@@ -65,21 +72,44 @@ rem == Start executable
6572rem ============================================================================
6673
6774title Compile demo apps
75+
76+ choice /c yn /m " Do you want to build the INFRASTRUCTURE and DATA MODEL projects? [Y] Yes or [N] no. "
77+ if errorlevel 2 goto buildFRAMEWORK
78+
6879echo Rebuilding Infrastructure and Data Model projects
6980echo ---
7081%NUGET% restore %SPEC%
7182%MSBUILD% %SPEC% /nologo /t:Rebuild /p:Configuration=Debug /p:Platform=" Any CPU" /v:%VERBOSITY% > %OUTPUT% \build.idm.log
7283echo .
84+
85+ :buildFRAMEWORK
7386echo .
87+ choice /c yn /m " Do you want to build the FRAMEWORK projects? [Y] Yes or [N] no. "
88+ if errorlevel 2 goto buildDEMOS
7489echo Rebuilding Framework projects
7590echo ---
7691%NUGET% restore %FRAMEWORK%
7792%MSBUILD% %FRAMEWORK% /nologo /t:Rebuild /p:Configuration=Debug /p:Platform=" Any CPU" /v:%VERBOSITY% > %OUTPUT% \build.framework.log
7893echo .
94+
95+ :buildDEMOS
7996echo .
97+ choice /c yn /m " Do you want to build DEMONSTRATION projects? [Y] Yes or [N] no. "
98+ if errorlevel 2 goto buildDOCS
8099echo Rebuilding Demo projects
81100echo ---
82101%NUGET% restore %DEMOS%
83102%MSBUILD% %DEMOS% /nologo /t:Rebuild /p:Configuration=Debug /p:Platform=" Any CPU" /v:%VERBOSITY% > %OUTPUT% \build.demos.log
103+ echo .
104+
105+ :buildDOCS
106+ echo .
107+ choice /c yn /m " Do you want to build the framework's DOCUMENTATION? [Y] Yes or [N] no. "
108+ if errorlevel 2 goto end
109+ echo .
110+ echo Rebuilding Demo projects
111+ echo ---
112+ %NUGET% restore %DOCS%
113+ %MSBUILD% %DOCS% /nologo /t:Rebuild /p:Configuration=Debug /p:Platform=" Any CPU" /v:%VERBOSITY% > %OUTPUT% \build.docs.log
84114pause
85115:end
0 commit comments