[svn] r7527: nemerle/trunk: . Nemerle.build tools/nant-task/AssemblyInfo.n tools/nant-task/Makefile tools/...

pbludov svnadmin at nemerle.org
Wed Mar 14 09:14:16 CET 2007


Log:
Preparing NAnt biuld enviroment.

Author: pbludov
Date: Wed Mar 14 09:14:09 2007
New Revision: 7527

Added:
   nemerle/trunk/Nemerle.build
   nemerle/trunk/tools/nant-task/AssemblyInfo.n
   nemerle/trunk/tools/nant-task/NantTask.build
      - copied, changed from rev 7526, nemerle/trunk/tools/nant-task/example.build
   nemerle/trunk/tools/nemerlish/nemerlish.build
   nemerle/trunk/tools/tools.build
Removed:
   nemerle/trunk/tools/nant-task/example.build
Modified:
   nemerle/trunk/   (props changed)
   nemerle/trunk/tools/nant-task/Makefile
   nemerle/trunk/tools/nant-task/NantTask.n
   nemerle/trunk/tools/reflector-addon/reflector-addon.build
   nemerle/trunk/tools/reflector-addon/reflector-addon.nproj

Added: nemerle/trunk/Nemerle.build
==============================================================================
--- (empty file)
+++ nemerle/trunk/Nemerle.build	Wed Mar 14 09:14:09 2007
@@ -0,0 +1,104 @@
+<?xml version="1.0" encoding="utf-8" ?>
+<project name="Nemerle" default="usage" xmlns="http://nant.sf.net/release/0.85-rc3/nant.xsd">
+  <description>
+    Copyright (c) 2003-2007 The University of Wroclaw.
+    All rights reserved.
+
+    Redistribution and use in source and binary forms, with or without
+    modification, are permitted provided that the following conditions
+    are met:
+       1. Redistributions of source code must retain the above copyright
+          notice, this list of conditions and the following disclaimer.
+       2. Redistributions in binary form must reproduce the above copyright
+          notice, this list of conditions and the following disclaimer in the
+          documentation and/or other materials provided with the distribution.
+       3. The name of the University may not be used to endorse or promote
+          products derived from this software without specific prior
+          written permission.
+
+    THIS SOFTWARE IS PROVIDED BY THE UNIVERSITY ``AS IS'' AND ANY EXPRESS OR
+    IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
+    OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN
+    NO EVENT SHALL THE UNIVERSITY BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
+    SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED
+    TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
+    PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
+    LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+    NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
+    SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+    
+    You must not remove this notice, or any other, from this software.
+
+    Nemerle.build - Builds all of Nemerle projects.
+  </description>
+
+  <target name="usage" description="Display help screen">
+    <echo>
+       nant usage
+       	 Display this help screen.
+
+       nant configure [-D:&lt;options&gt;]
+         Configure the build environment.
+       options:
+         debug=true/false  Enable/Disable debug build. Default value is false.
+         defines=STRING    Symbols for conditional compilation. Default value is none.
+       example:
+         nant configure -D:debug=true
+
+       nant build
+         Buil all.
+
+       nant rebuild
+         Rebuil all.
+
+       nant clean
+         Cleanup all.
+    </echo>
+  </target>
+
+  <target name="configure" description="Configure the build environment">
+    <!-- Default properties. -->
+    <property name="debug"   value="false" overwrite="false" />
+    <property name="defines" value=""      overwrite="false" />
+
+    <echo file="Nemerle.include">
+	<![CDATA[<?xml version="1.0" encoding="utf-8" ?>
+<project name="Nemerle build properties" xmlns="http://nant.sf.net/release/0.85-rc3/nant.xsd">
+<!--
+  This file is autogenerated.
+  Do not edit this file.
+  Use Nemerle.include.user instead.
+-->
+
+  <!-- Non versioned user properties. -->
+  <include buildfile="${path::get-full-path('Nemerle.include.user')}" failonerror="false" />
+
+  <property name="ncc.debug" value="${debug}" overwrite="false" />
+  <property name="ncc.defines" value="${defines}" overwrite="false" />
+  <property name="ncc.keyfile" value="${path::get-full-path('misc/keys/Nemerle.snk')}" overwrite="false" />
+
+  <property name="configuration" value="debug" if="&#36;{ncc.debug}" />
+  <property name="configuration" value="release" unless="&#36;{ncc.debug}" />
+
+  <property name="dir.top"  value="${path::get-full-path('.')}" />
+  <property name="dir.boot" value="${path::get-full-path('boot')}" />
+  <property name="dir.out"  value="&#36;{path::get-full-path(path::combine('bin', property::get-value('configuration')))}" />
+</project>]]>
+    </echo>
+
+  </target>
+
+  <target name="build" description="Build all.">
+    <fail message="Please run `nant configure' first." if="${not file::exists('Nemerle.include')}"/>
+
+	<nant buildfile="${path::combine('tools', 'tools.build')}" target="build"/>
+  </target>
+
+  <target name="clean" description="Cleanup all.">
+    <fail message="Please run `nant configure' first." if="${not file::exists('Nemerle.include')}"/>
+
+	<nant buildfile="${path::combine('tools', 'tools.build')}" target="clean"/>
+  </target>
+
+  <target name="rebuild" description="Rebuild all." depends="clean build"/>
+</project>

Added: nemerle/trunk/tools/nant-task/AssemblyInfo.n
==============================================================================
--- (empty file)
+++ nemerle/trunk/tools/nant-task/AssemblyInfo.n	Wed Mar 14 09:14:09 2007
@@ -0,0 +1,44 @@
+/*
+ * Copyright (c) 2003-2007 The University of Wroclaw.
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without
+ * modification, are permitted provided that the following conditions
+ * are met:
+ *    1. Redistributions of source code must retain the above copyright
+ *       notice, this list of conditions and the following disclaimer.
+ *    2. Redistributions in binary form must reproduce the above copyright
+ *       notice, this list of conditions and the following disclaimer in the
+ *       documentation and/or other materials provided with the distribution.
+ *    3. The name of the University may not be used to endorse or promote
+ *       products derived from this software without specific prior
+ *       written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE UNIVERSITY ``AS IS'' AND ANY EXPRESS OR
+ * IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
+ * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN
+ * NO EVENT SHALL THE UNIVERSITY BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
+ * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED
+ * TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
+ * PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
+ * LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
+ * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
+
+
+using System.Reflection;
+using System.Runtime.CompilerServices;
+
+//
+// General Information about an assembly is controlled through the following 
+// set of attributes. Change these attribute values to modify the information
+// associated with an assembly.
+//
+[assembly: AssemblyTitle      ("nant-task")]
+[assembly: AssemblyDescription("Nemerle build task")]
+[assembly: AssemblyProduct    ("Nemerle")]
+[assembly: AssemblyCopyright  ("Copyright \xA9 University of Wroclaw 2003-2007.")]
+[assembly: AssemblyCompany    ("http://nemerle.org")]
+[assembly: Nemerle.Utility.AssemblyVersionFromSVN("0.9.3.SVN")]
+

Modified: nemerle/trunk/tools/nant-task/Makefile
==============================================================================
--- nemerle/trunk/tools/nant-task/Makefile	(original)
+++ nemerle/trunk/tools/nant-task/Makefile	Wed Mar 14 09:14:09 2007
@@ -64,8 +64,8 @@
 	$(Q)install -m755 Nemerle.NAnt.Tasks.dll $(DESTDIR)$(NANT_DIR)
 endif
 
-Nemerle.NAnt.Tasks.dll: NantTask.n
-	$(EXECUTE) $(TOP)/ncc/out.stage3/ncc.exe -L:$(NANT_DIR) -q -greedy- -r NAnt.DotNetTasks.dll -r NAnt.Core.dll -out $@ -t:library NantTask.n
+Nemerle.NAnt.Tasks.dll: NantTask.n AssemblyInfo.n
+	$(EXECUTE) $(TOP)/ncc/out.stage3/ncc.exe -L:$(NANT_DIR) -q -greedy- -r NAnt.DotNetTasks.dll -r NAnt.Core.dll -out $@ -t:library NantTask.n AssemblyInfo.n
 
 uninstall:
 	rm -f $(DESTDIR)$(NANT_DIR)Nemerle.NAnt.Tasks.dll

Copied: nemerle/trunk/tools/nant-task/NantTask.build (from rev 7526, nemerle/trunk/tools/nant-task/example.build)
==============================================================================
--- nemerle/trunk/tools/nant-task/example.build	(original)
+++ nemerle/trunk/tools/nant-task/NantTask.build	Wed Mar 14 09:14:09 2007
@@ -1,17 +1,59 @@
-<?xml version="1.0"?>
-<project name="example" default="all" >
-  <target name="all">
-    <ncc target="library" output="Nemerle.NAnt.Tasks.dll">
+<?xml version="1.0" encoding="utf-8" ?>
+<project name="nant-task" default="build" xmlns="http://nant.sf.net/release/0.85-rc3/nant.xsd">
+  <description>
+    Copyright (c) 2003-2007 The University of Wroclaw.
+    All rights reserved.
+
+    Redistribution and use in source and binary forms, with or without
+    modification, are permitted provided that the following conditions
+    are met:
+       1. Redistributions of source code must retain the above copyright
+          notice, this list of conditions and the following disclaimer.
+       2. Redistributions in binary form must reproduce the above copyright
+          notice, this list of conditions and the following disclaimer in the
+          documentation and/or other materials provided with the distribution.
+       3. The name of the University may not be used to endorse or promote
+          products derived from this software without specific prior
+          written permission.
+
+    THIS SOFTWARE IS PROVIDED BY THE UNIVERSITY ``AS IS'' AND ANY EXPRESS OR
+    IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
+    OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN
+    NO EVENT SHALL THE UNIVERSITY BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
+    SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED
+    TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
+    PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
+    LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+    NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
+    SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+    
+    You must not remove this notice, or any other, from this software.
+
+  </description>
+
+  <include buildfile="../../Nemerle.include" unless="${property::exists('dir.top')}" />
+
+  <target name="build">
+    <mkdir dir="${dir.out}" />
+    <ncc
+     output  ="${dir.out}/Nemerle.NAnt.Tasks.dll" target="library"
+     define  ="${ncc.defines}"
+     debug   ="${ncc.debug}"
+     >
       <sources>
         <include name="*.n" />
       </sources>
-      <references>
-        <lib>
-          <include name="${nant.location}" />
-        </lib>
+      <references basedir="${nant::get-base-directory()}">
         <include name="NAnt.DotNetTasks.dll" />
         <include name="NAnt.Core.dll" />
       </references>
     </ncc>
   </target>
+
+  <target name="clean">
+    <delete dir="${dir.out}" />
+  </target>
+
+  <target name="rebuild" depends="clean build"/>
+
 </project>

Modified: nemerle/trunk/tools/nant-task/NantTask.n
==============================================================================
--- nemerle/trunk/tools/nant-task/NantTask.n	(original)
+++ nemerle/trunk/tools/nant-task/NantTask.n	Wed Mar 14 09:14:09 2007
@@ -3,8 +3,10 @@
 using System.Text.RegularExpressions;
 
 using NAnt.Core.Attributes;
+using NAnt.Core.Types;
 using NAnt.DotNet.Tasks;
 
+
 namespace Nemerle.Tools.NAntTasks
 {
 	[TaskName("ncc")]
@@ -16,6 +18,11 @@
 		private  mutable  _nostdlib : bool;
 		private  mutable  _optimize : bool;
 
+		public this()
+		{
+			SupportsKeyFile = true;
+		}
+
 		protected override ClassNameRegex : Regex
 		{
 			get
@@ -45,7 +52,7 @@
 
 		protected override WriteOption(writer : TextWriter, name :  string, arg :  string) :  void 
 		{
-			writer.WriteLine("-{0}:{1}", name, arg);
+			writer.WriteLine((if (arg.StartsWith("\"") && arg.EndsWith("\"")) "-{0}:{1}" else "\"-{0}:{1}\""), name, arg);
 		} 
 
 		protected override WriteOptions(writer : TextWriter) :  void
@@ -72,21 +79,7 @@
 
 		protected override NeedsCompiling() :  bool
 		{
-			if (DocFile != null)
-			{
-				if (!DocFile.Exists)
-				{
-					 true;
-				}
-				else
-			        {
-			            base.NeedsCompiling();
-			        }
-			}
-			else
-		        {
-			    base.NeedsCompiling();
-		        }
+			(DocFile != null && FileSet.FindMoreRecentLastWriteTime(DocFile.FullName, OutputFile.LastWriteTime) != null) || base.NeedsCompiling();
 		}
 
 		public override Extension : string

Added: nemerle/trunk/tools/nemerlish/nemerlish.build
==============================================================================
--- (empty file)
+++ nemerle/trunk/tools/nemerlish/nemerlish.build	Wed Mar 14 09:14:09 2007
@@ -0,0 +1,48 @@
+<?xml version="1.0"?>
+
+<!-- TODO: Tests; Install -->
+
+<project name="nemerlish" default="build" xmlns="http://nant.sf.net/release/0.85-rc3/nant.xsd">>
+
+    <!-- Include the global build properties -->
+    <include buildfile="../../Nemerle.include" unless="${property::exists('dir.top')}" />
+
+    <target name="build.eval">
+        <ncc output="Nemerle.Evaluation.dll" target="dll">
+			<references>
+                <include name="${path::combine(property::get-value('dir.boot'), 'Nemerle.Compiler.dll')}" />
+			</references>
+			<sources>
+				<include name="eval.n" />
+			</sources>
+		</ncc>
+    </target>
+
+    <target name="build.nemish" depends="build.eval">
+        <ncc output="nemish.exe" target="exe">
+			<references>
+                <include name="${path::combine(property::get-value('dir.boot'), 'Nemerle.Compiler.dll')}" />
+                <include name="Nemerle.Evaluation.dll" />
+			</references>
+			<sources>
+				<include name="main.n" />
+				<include name="interp.n" />
+				<include name="readline.n" />
+			</sources>
+		</ncc>
+    </target>
+
+    <target name="clean">
+		<delete>
+			<fileset>
+				<include name="*.dll" />
+				<include name="*.exe" />
+			</fileset>
+		</delete>
+    </target>
+
+    <target name="build" depends="build.eval build.nemish"/>
+
+    <target name="rebuild" depends="clean build"/>
+
+</project>

Modified: nemerle/trunk/tools/reflector-addon/reflector-addon.build
==============================================================================
--- nemerle/trunk/tools/reflector-addon/reflector-addon.build	(original)
+++ nemerle/trunk/tools/reflector-addon/reflector-addon.build	Wed Mar 14 09:14:09 2007
@@ -1,39 +1,68 @@
-<?xml version="1.0"?>
-<project name="reflector-addon" default="build">
+<?xml version="1.0" encoding="utf-8" ?>
+<project name="reflector-addon" default="build" xmlns="http://nant.sf.net/release/0.85-rc3/nant.xsd">
+  <description>
+    Copyright (c) 2003-2007 The University of Wroclaw.
+    All rights reserved.
+
+    Redistribution and use in source and binary forms, with or without
+    modification, are permitted provided that the following conditions
+    are met:
+       1. Redistributions of source code must retain the above copyright
+          notice, this list of conditions and the following disclaimer.
+       2. Redistributions in binary form must reproduce the above copyright
+          notice, this list of conditions and the following disclaimer in the
+          documentation and/or other materials provided with the distribution.
+       3. The name of the University may not be used to endorse or promote
+          products derived from this software without specific prior
+          written permission.
+
+    THIS SOFTWARE IS PROVIDED BY THE UNIVERSITY ``AS IS'' AND ANY EXPRESS OR
+    IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
+    OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN
+    NO EVENT SHALL THE UNIVERSITY BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
+    SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED
+    TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
+    PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
+    LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+    NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
+    SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
 
-    <property name="configuration" value="Debug"/>
-    <property name="reflectorVersion" value="REFLECTOR_VER_50"/>
+    You must not remove this notice, or any other, from this software.
 
-    <property name="boot.dir" value="${path::get-full-path('../../boot')}"/>
-    <property name="build.dir" value="${path::get-full-path('bin')}/${configuration}"/>
-    <property name="lib.dir" value="${path::get-full-path('lib')}"/>
+  </description>
+
+  <include buildfile="../../Nemerle.include" unless="${property::exists('dir.top')}" />
+
+  <property name="reflectorVersion" value="REFLECTOR_VER_50" overwrite="false" />
+  <property name="dir.lib" value="${path::get-full-path('lib')}" overwrite="false" />
 
     <target name="build">
-        <mkdir dir="${build.dir}" />
-        <ncc output="${build.dir}/Reflector.NemerleLanguage.dll" target="dll">
+
+    <mkdir dir="${dir.out}" />
+    <ncc
+     output ="${dir.out}/Reflector.NemerleLanguage.dll" target="library"
+     define ="${ncc.defines};${reflectorVersion}"
+     debug  ="${ncc.debug}"
+     keyfile="${ncc.keyfile}"
+     >
 			<references>
-                <include name="${lib.dir}/Reflector.exe" />
+        <include name="${dir.lib}/Reflector.exe" />
 				<include name="System.Windows.Forms.dll" /> 
 			</references>
 			<sources basedir="src">
 				<include name="*.n" />
                 <include name="CodeModel/*.n" />
 			</sources>
-			<arg line="-def:${reflectorVersion}"/>
 		</ncc>
     </target>
 
     <target name="run" depends="build">
-		<copy file="${boot.dir}/Nemerle.dll" tofile="${lib.dir}/Nemerle.dll" />
-        <exec program="Reflector.exe" workingdir="${lib.dir}" basedir="${lib.dir}" />
+    <copy file="${dir.boot}/Nemerle.dll" tofile="${dir.lib}/Nemerle.dll" />
+    <exec program="Reflector.exe" workingdir="${dir.lib}" basedir="${dir.lib}" />
     </target>
 
     <target name="clean">
-		<delete>
-			<fileset basedir="${build.dir}">
-				<include name="**" />
-			</fileset>
-		</delete>
+    <delete dir="${dir.out}" />
     </target>
 
     <target name="rebuild" depends="clean build"/>

Modified: nemerle/trunk/tools/reflector-addon/reflector-addon.nproj
==============================================================================
--- nemerle/trunk/tools/reflector-addon/reflector-addon.nproj	(original)
+++ nemerle/trunk/tools/reflector-addon/reflector-addon.nproj	Wed Mar 14 09:14:09 2007
@@ -19,7 +19,7 @@
     <DebugType>full</DebugType>
     <Optimize>false</Optimize>
     <OutputPath>bin\Debug\</OutputPath>
-    <DefineConstants>DEBUG;TRACE</DefineConstants>
+    <DefineConstants>DEBUG;TRACE;REFLECTOR_VER_50</DefineConstants>
     <ErrorReport>prompt</ErrorReport>
     <WarningLevel>4</WarningLevel>
   </PropertyGroup>
@@ -41,6 +41,7 @@
   </PropertyGroup>
   <PropertyGroup Condition=" '$(Configuration)' == 'Release' ">
     <OutputPath>bin\Release\</OutputPath>
+    <DefineConstants>TRACE;REFLECTOR_VER_50</DefineConstants>
   </PropertyGroup>
   <ItemGroup>
     <Reference Include="Reflector">

Added: nemerle/trunk/tools/tools.build
==============================================================================
--- (empty file)
+++ nemerle/trunk/tools/tools.build	Wed Mar 14 09:14:09 2007
@@ -0,0 +1,48 @@
+<?xml version="1.0" encoding="utf-8" ?>
+<project name="Nemerle" default="build" xmlns="http://nant.sf.net/release/0.85-rc3/nant.xsd">
+  <description>
+    Copyright (c) 2003-2007 The University of Wroclaw.
+    All rights reserved.
+
+    Redistribution and use in source and binary forms, with or without
+    modification, are permitted provided that the following conditions
+    are met:
+       1. Redistributions of source code must retain the above copyright
+          notice, this list of conditions and the following disclaimer.
+       2. Redistributions in binary form must reproduce the above copyright
+          notice, this list of conditions and the following disclaimer in the
+          documentation and/or other materials provided with the distribution.
+       3. The name of the University may not be used to endorse or promote
+          products derived from this software without specific prior
+          written permission.
+
+    THIS SOFTWARE IS PROVIDED BY THE UNIVERSITY ``AS IS'' AND ANY EXPRESS OR
+    IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
+    OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN
+    NO EVENT SHALL THE UNIVERSITY BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
+    SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED
+    TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
+    PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
+    LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+    NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
+    SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+    
+    You must not remove this notice, or any other, from this software.
+
+    Nemerle.build - Builds all of Nemerle projects.
+  </description>
+
+  <target name="build" description="Build tools.">
+	<nant buildfile="${path::combine('nant-task', 'NantTask.build')}" target="build"/>
+	<nant buildfile="${path::combine('nemerlish', 'nemerlish.build')}" target="build"/>
+	<nant buildfile="${path::combine('reflector-addon', 'reflector-addon.build')}" target="build"/>
+  </target>
+
+  <target name="clean" description="Clean tools.">
+	<nant buildfile="${path::combine('nant-task', 'NantTask.build')}" target="clean"/>
+	<nant buildfile="${path::combine('nemerlish', 'nemerlish.build')}" target="clean"/>
+	<nant buildfile="${path::combine('reflector-addon', 'reflector-addon.build')}" target="clean"/>
+  </target>
+
+  <target name="rebuild" description="Rebuild tools." depends="clean build"/>
+</project>



More information about the svn mailing list