summaryrefslogtreecommitdiff
path: root/build.xml
diff options
context:
space:
mode:
authormihaylov <mihaylov@epfl.ch>2007-02-09 17:09:49 +0000
committermihaylov <mihaylov@epfl.ch>2007-02-09 17:09:49 +0000
commit9674b0e81d31ef6c7380ceb7a85c453cd4294b94 (patch)
tree7bede263d56458b90b135db936be462a95ead192 /build.xml
parent242afcdafdaacee06f32074a228f567ee58f9fd0 (diff)
downloadscala-9674b0e81d31ef6c7380ceb7a85c453cd4294b94.tar.gz
scala-9674b0e81d31ef6c7380ceb7a85c453cd4294b94.tar.bz2
scala-9674b0e81d31ef6c7380ceb7a85c453cd4294b94.zip
Preliminary support for building .NET version o...
Preliminary support for building .NET version of the Scala library
Diffstat (limited to 'build.xml')
-rw-r--r--build.xml44
1 files changed, 44 insertions, 0 deletions
diff --git a/build.xml b/build.xml
index fee3ef2c4e..b9ac557f49 100644
--- a/build.xml
+++ b/build.xml
@@ -51,6 +51,7 @@ PROPERTIES
<property name="api-comp.dir" value="${build.dir}/api-compiler"/>
<property name="tooldocs.dir" value="${build.dir}/tooldocs"/>
<property name="examples.dir" value="${build.dir}/examples"/>
+ <property name="msil.dir" value="${build.dir}/msil"/>
<!-- Sets location and structure of the distribution -->
<property name="dist.dir" value="${basedir}/dists"/>
<property name="lib.jar.name" value="scala-library.jar"/>
@@ -551,6 +552,49 @@ BUILD QUICK-TEST LAYER
</target>
<!-- ===========================================================================
+MSIL
+============================================================================ -->
+
+ <target name="msil.sources">
+ <mkdir dir="${msil.dir}/src"/>
+
+ <copy todir="${msil.dir}/src">
+ <fileset dir="${src.dir}/library" includes="**/*.scala">
+ <not>
+ <present targetdir="${src.dir}/dotnet-library"/>
+ </not>
+ </fileset>
+ </copy>
+
+ <copy todir="${msil.dir}/src">
+ <fileset dir="${src.dir}/dotnet-library">
+ <include name="**/*.scala"/>
+ </fileset>
+ </copy>
+
+ </target>
+
+ <target name="msil.predef" depends="setup.quick, msil.sources">
+ <quick srcdir="${msil.dir}/src" usepredefs="no" target="msil"
+ assemname="predef" assemrefs="${lib.dir}">
+ <include name="scala/Predef.scala" />
+ <include name="scala/Console.scala" />
+ <include name="scala/Application.scala" />
+ <include name="scala/ByNameFunction.scala" />
+ <include name="scala/*Attribute.scala" />
+ <include name="scala/Function*.scala" />
+ <include name="scala/Tuple*.scala" />
+ <include name="scala/Product*.scala" />
+ <include name="scala/deprecated.scala" />
+ <include name="scala/serializable.scala" />
+ <include name="scala/transient.scala" />
+ <include name="scala/cloneable.scala" />
+ <include name="scala/transient.scala" />
+ <include name="scala/runtime/*.scala" />
+ </quick>
+ </target>
+
+<!-- ===========================================================================
TEST
============================================================================ -->