blob: fc5a98bad965138e9e1cb23f90bb3393639388b4 (
plain)
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
|
<?xml version="1.0" encoding="iso-8859-1"?>
<!-- NAnt build file for Mono.Data.MySql.dll -->
<project name="Mono.Data.MySql" default="build">
<property name="debug" value="false"/>
<target name="build">
<csc target="library" output="../lib/Mono.Data.MySql.dll" debug="${debug}">
<arg value="/nowarn:1595"/>
<arg value="/nowarn:0067"/>
<arg value="/nowarn:0109"/>
<arg value="/nowarn:0169"/>
<arg value="/nowarn:0649"/>
<arg value="/unsafe"/>
<arg value="/noconfig"/>
<arg value="/r:System.dll"/>
<arg value="/r:System.Xml.dll"/>
<arg value="/r:System.Data.dll"/>
<sources>
<includes name="**/*.cs"/>
<excludes name="Test/**"/>
<excludes name="Mono.Data.MySql/Test.cs"/>
<excludes name="Mono.Data.MySql/MySqlClientPermission.cs"/>
<excludes name="Mono.Data.MySql/MySqlClientPermissionAttribute.cs"/>
<excludes name="Mono.Data.MySql/MySqlCommandBuilder.cs"/>
<excludes name="Mono.Data.MySql/MySqlInfoMessageEventArgs.cs"/>
<excludes name="Mono.Data.MySql/MySqlInfoMessageEventHandler.cs"/>
</sources>
<references>
<includes name="../lib/corlib.dll"/>
<includes name="../lib/System.dll"/>
<includes name="../lib/System.Xml.dll"/>
<includes name="../lib/System.Data.dll"/>
</references>
</csc>
<copy file="../lib/System.Data.dll" tofile="Test/System.Data.dll"/>
<copy file="../lib/Mono.Data.MySql.dll" tofile="Test/Mono.Data.MySql.dll"/>
<copy file="../lib/Mono.Data.MySql.dll" tofile="Mono.Data.MySql/Mono.Data.MySql.dll"/>
<copy file="../lib/Mono.Data.MySql.dll" tofile="../System.Data/Test/Mono.Data.MySql.dll"/>
</target>
<target name="test" depends="build">
<nant basedir="Test" target="test"/>
</target>
<target name="clean">
<delete file="../lib/System.Data.dll" failonerror="false"/>
<delete file="Test/System.Data.dll" failonerror="false"/>
<delete file="../lib/Mono.Data.MySql.dll" failonerror="false"/>
<delete file="Test/Mono.Data.MySql.dll" failonerror="false"/>
</target>
</project>
|