forked from ccnet/CruiseControl.NET
-
Notifications
You must be signed in to change notification settings - Fork 0
/
docPrep.build
27 lines (22 loc) · 1.18 KB
/
docPrep.build
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
<?xml version="1.0" encoding="utf-8"?>
<project name="docGenerator" default="all" xmlns="http://nant.sf.net/release/0.86-beta1/nant.xsd">
<property name="tools.dir" readonly="true" value="${path::get-full-path('Tools')}" />
<property name="docGen.dir" readonly="true" value="${path::combine(tools.dir, 'docGenerator')}" />
<property name="build.project" overwrite="false" value="${path::combine(docGen.dir, 'CCNetDocumentGenerator.sln')}" />
<property name="nauckit.nant.assembly" readonly="true" value="${path::combine( path::combine(tools.dir, 'NAnt'), 'NauckIT.NAnt.dll')}" />
<target name="all" depends="clean, compile"/>
<target name="compile">
<loadtasks assembly="${nauckit.nant.assembly}" />
<echo message="Build Project: ${build.project}" />
<msbuild projectFile="${build.project}" verbosity="Minimal">
</msbuild>
</target>
<target name="clean">
<delete>
<fileset basedir="." failonempty="false">
<include name="doc-*.log"/>
</fileset>
</delete>
<copy file="${path::get-full-path('pages.xml')}" tofile="${path::combine( path::get-full-path('wiki'), 'pages.xml')}" overwrite="true"/>
</target>
</project>