Fixing the build.
[castle.git] / cruise.build
blob65cfa1c01e8975404e73acd971ad13b0338146b1
1 <?xml version="1.0" encoding="utf-8" ?>
2 <project
3 name="Castle CruiseControl.NET Build"
4 xmlns="http://nant.sf.net/release/0.85/nant.xsd"
6 <!--
7 Run the package-* targets one by one (separate nant task blocks in ccnet.config) so they do not interfere with each other (like for instance loadtask commands do).
8 -->
10 <fail if="${not property::exists('CCNetLabel')}">This build file is for use with CruiseControl.NET</fail>
12 <target name="package-net-1.1">
13 <!--
14 clean is first target executed so we can get rid of
15 any old assemblies
16 -->
17 <nant buildfile="default.build" target="clean package">
18 <properties>
19 <property name="build.rebuild" value="true" />
20 <property name="nant.settings.currentframework" value="net-1.1" />
21 <property name="project.config" value="debug" />
22 <property name="build.zip.file" value="castleproject-${project.major}.${project.minor}-build_${CCNetLabel}-${framework::get-target-framework()}-${project.config}.zip" dynamic="true" />
23 <property name="build.msi.file" value="castleproject-${project.major}.${project.minor}-build_${CCNetLabel}-${framework::get-target-framework()}-${project.config}.msi" dynamic="true" />
24 </properties>
25 </nant>
26 </target>
28 <target name="package-net-2.0">
29 <!--
30 clean is first target executed so we can get rid of
31 any old assemblies
32 -->
33 <nant buildfile="default.build" target="clean package">
34 <properties>
35 <property name="build.rebuild" value="true" />
36 <property name="nant.settings.currentframework" value="net-2.0" />
37 <property name="project.config" value="debug" />
38 <property name="build.zip.file" value="castleproject-${project.major}.${project.minor}-build_${CCNetLabel}-${framework::get-target-framework()}-${project.config}.zip" dynamic="true" />
39 <property name="build.msi.file" value="castleproject-${project.major}.${project.minor}-build_${CCNetLabel}-${framework::get-target-framework()}-${project.config}.msi" dynamic="true" />
40 </properties>
41 </nant>
42 </target>
44 </project>