forked from ccnet/CruiseControl.NET
-
Notifications
You must be signed in to change notification settings - Fork 0
/
createDocs.bat
27 lines (19 loc) · 877 Bytes
/
createDocs.bat
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
@ECHO OFF
ECHO Compiling docGenerator
Tools\NAnt\NAnt.exe -buildfile:docPrep.build all -nologo -logfile:nant-docs.log %*
ECHO Create .\docgen folder
SET "outputfolder=.\docgen"
IF EXIST %outputfolder% (
RMDIR %outputfolder% /s /q
) ELSE (
MKDIR %outputfolder%
)
ECHO Run docGenerator on .dlls
Tools\docGenerator\Console\bin\Debug\Console.exe -c=generate -s=Build\Server\ThoughtWorks.CruiseControl.Remote.dll -o=%outputfolder%
Tools\docGenerator\Console\bin\Debug\Console.exe -c=generate -s=Build\Server\ThoughtWorks.CruiseControl.Core.dll -o=%outputfolder%
Tools\docGenerator\Console\bin\Debug\Console.exe -c=generate -s=Build\WebDashboard\ThoughtWorks.CruiseControl.WebDashboard.dll -o=%outputfolder%
IF "%2"=="" GOTO Continue
ECHO Publish documentation
Tools\docGenerator\Console\bin\Debug\Console.exe -c=publish -u=%1 -p=%2 -o=%outputfolder%
:Continue
pause