-
Notifications
You must be signed in to change notification settings - Fork 1
/
release.build
49 lines (44 loc) · 2.08 KB
/
release.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
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
<?xml version="1.0" encoding="utf-8" ?>
<project
name="Castle Release Build"
xmlns="http://nant.sf.net/release/0.85/nant.xsd"
>
<!--
Run the package-* targets one by one so they do not interfere with each other (like for instance loadtask commands do).
-->
<!--
NAnt -D:project.config=release -D:sign=true -D:vshik.installed=true -D:nunit2report.installed=false clean package >release-package.log
-->
<target name="package-net-1.1">
<!--
clean is first target executed so we can get rid of
any old assemblies
-->
<nant buildfile="default.build" target="clean build installer">
<properties>
<property name="build.rebuild" value="true" />
<property name="nant.settings.currentframework" value="net-1.1" />
<property name="project.config" value="release" />
<property name="sign" value="true" />
<property name="vshik.installed" value="true" />
<property name="nunit2report.installed" value="false" />
<property name="build-zipfile" value="${build.dir}/Castle-${project.major}.${project.minor}.${project.build}-${framework::get-target-framework()}-${project.config}-${datetime::get-year(datetime::now())}-${datetime::get-month(datetime::now())}-${datetime::get-day(datetime::now())} (r${svn.revision}).zip" dynamic="true" />
</properties>
</nant>
</target>
<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 build installer">
<properties>
<property name="build.rebuild" value="true" />
<property name="nant.settings.currentframework" value="net-2.0" />
<property name="project.config" value="release" />
<property name="sign" value="true" />
<property name="build-zipfile" value="${build.dir}/Castle-${project.major}.${project.minor}.${project.build}-${framework::get-target-framework()}-${project.config}-${datetime::get-year(datetime::now())}-${datetime::get-month(datetime::now())}-${datetime::get-day(datetime::now())} (r${svn.revision}).zip" dynamic="true" />
</properties>
</nant>
</target>
</project>