-
Notifications
You must be signed in to change notification settings - Fork 1
/
cruise.build
28 lines (25 loc) · 1.2 KB
/
cruise.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
28
<?xml version="1.0" encoding="utf-8" ?>
<project
name="Castle CruiseControl.NET Build"
xmlns="http://nant.sf.net/release/0.85/nant.xsd"
>
<!--
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).
-->
<fail if="${not property::exists('CCNetLabel')}">This build file is for use with CruiseControl.NET</fail>
<target name="package-net-2.0">
<!--
clean is first target executed so we can get rid of
any old assemblies
-->
<nant buildfile="default.build" target="clean package">
<properties>
<property name="build.rebuild" value="true" />
<property name="nant.settings.currentframework" value="net-2.0" />
<property name="project.config" value="debug" />
<property name="build.zip.file" value="castleproject-${project.major}.${project.minor}-build_${CCNetLabel}-${framework::get-target-framework()}-${project.config}.zip" dynamic="true" />
<property name="build.msi.file" value="castleproject-${project.major}.${project.minor}-build_${CCNetLabel}-${framework::get-target-framework()}-${project.config}.msi" dynamic="true" />
</properties>
</nant>
</target>
</project>