Welcome to mirror list, hosted at ThFree Co, Russian Federation.

System.XML.build « System.XML « class « mcs - github.com/mono/mono.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: cee6b79d8b924193725a1b2675ef4c8fcda0b6d6 (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
<?xml version="1.0" encoding="iso-8859-1"?>

<!-- NAnt build file for System.XML.dll -->

<project name="System.XML" default="build">
	<property name="debug" value="false"/>

	<target name="build">
		<mkdir dir="../lib"/>
		<csc target="library" output="../lib/System.Xml.dll" debug="${debug}">
			<!-- 'foo' is defined in multiple places; using definition from 'bar' -->
			<arg value="/nowarn:1595"/>
			<!-- Other languages may permit the internal virtual member 'foo' to be overridden -->
			<arg value="/nowarn:0679"/>
			<arg value="/nowarn:0649"/>
			<sources>
				<includes name="**/*.cs"/> 
				<excludes name="Test/**"/>
				<!--excludes name="System.Xml.Serialization/**"/--> 
			</sources>
		</csc>
		<copy file="../lib/System.Xml.dll" tofile="Test/System.XML.dll"/>
		<nant basedir="Test" target="build"/>
	</target>

	<target name="test" depends="build">
		<nant basedir="Test" target="test"/>
	</target>

	<target name="clean">
		<nant basedir="Test" target="clean"/>
		<delete file="../lib/System.XML.dll" failonerror="false"/>
		<delete file="../lib/System.Xml.dll" failonerror="false"/>
		<delete file="Test/System.XML.dll" failonerror="false"/>
		<delete file="Test/System.Xml.dll" failonerror="false"/>
		<delete file="../lib/System.XML.pdb" failonerror="false"/>
	</target>
</project>