This repository has been archived by the owner on Feb 16, 2023. It is now read-only.
forked from divyang4481/xstream-dot-net
-
Notifications
You must be signed in to change notification settings - Fork 0
/
release.build
78 lines (65 loc) · 2.27 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
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
<?xml version="1.0" encoding="utf-8"?>
<project name="Xstream.Core" default="default">
<target name="default" depends="clean,test,compile,dist" />
<target name="clean">
<delete dir="build" if="${directory::exists('build')}" />
<mkdir dir="build\cf20" />
<mkdir dir="build\net11" />
<mkdir dir="build\net20" />
<mkdir dir="build\net35" />
<delete dir="dist" if="${directory::exists('dist')}" />
<mkdir dir="dist" />
</target>
<target name="test">
<property name="debug" value="true" />
<call target="-test-2.0" />
<call target="-test-3.5" />
</target>
<target name="-test-2.0" depends="-compile-2.0">
<csc target="library" output="build\net20\${project::get-name()}.Tests.dll" debug="${debug}">
<sources>
<include name="src\Xstream.Core.Tests\**\*.cs" />
<exclude name="src\Xstream.Core.Tests\**\*35.cs" />
</sources>
<references>
<include name="build\net20\${project::get-name()}.dll" />
<include name="lib\nunit.framework.dll" />
</references>
</csc>
</target>
<target name="-test-3.5" depends="-compile-3.5">
<csc target="library" output="build\net20\${project::get-name()}.Tests.dll" debug="${debug}">
<sources>
<include name="src\Xstream.Core.Tests\**\*.cs" />
</sources>
<references>
<include name="build\net35\${project::get-name()}.dll" />
<include name="lib\nunit.framework.dll" />
</references>
</csc>
</target>
<target name="compile">
<property name="debug" value="false" />
<call target="-compile-2.0" />
<call target="-compile-3.5" />
</target>
<target name="-compile-2.0">
<property name="nant.settings.currentframework" value="net-2.0" />
<csc target="library" output="build\net20\${project::get-name()}.dll" debug="${debug}">
<sources>
<include name="src\Xstream.Core\**\*.cs" />
<exclude name="src\Xstream.Core\**\*35.cs" />
</sources>
</csc>
</target>
<target name="-compile-3.5">
<property name="nant.settings.currentframework" value="net-3.5" />
<csc target="library" output="build\net35\${project::get-name()}.dll" debug="${debug}">
<sources>
<include name="src\Xstream.Core\**\*.cs" />
</sources>
</csc>
</target>
<target name="dist">
</target>
</project>