summaryrefslogtreecommitdiff
path: root/build.xml
diff options
context:
space:
mode:
authormichelou <michelou@epfl.ch>2008-07-23 10:00:18 +0000
committermichelou <michelou@epfl.ch>2008-07-23 10:00:18 +0000
commit80f341ff128b066edbe5966a26276aa9323b983b (patch)
tree5dd44a66497866462aace0edefbc39353b78409c /build.xml
parentfe07aac5bbd19485134bef22d78b29690d5f8e8e (diff)
downloadscala-80f341ff128b066edbe5966a26276aa9323b983b.tar.gz
scala-80f341ff128b066edbe5966a26276aa9323b983b.tar.bz2
scala-80f341ff128b066edbe5966a26276aa9323b983b.zip
fixed script on windows
Diffstat (limited to 'build.xml')
-rw-r--r--build.xml11
1 files changed, 10 insertions, 1 deletions
diff --git a/build.xml b/build.xml
index 8fabcdd6dc..eb1aecdef7 100644
--- a/build.xml
+++ b/build.xml
@@ -962,10 +962,19 @@ DISTRIBUTION
<chmod perm="ugo+rx" file="${dist.dir}/bin/fsc"/>
</target>
- <target name="dist.latest" depends="dist.base" unless="os.win">
+ <target name="dist.latest.unix" depends="dist.base" unless="os.win">
<symlink link="${dists.dir}/latest" resource="${dist.dir}" overwrite="yes"/>
</target>
+ <target name="dist.latest.win" depends="dist.base" if="os.win">
+ <copy todir="${dists.dir}">
+ <fileset dir="${dist.dir}"/>
+ </copy>
+ </target>
+
+ <target name="dist.latest"
+ depends="dist.latest.unix,dist.latest.win"/>
+
<target name="dist.doc" depends="dist.latest">
<mkdir dir="${dist.dir}/doc/scala"/>
<copy file="${docs.dir}/LICENSE" toDir="${dist.dir}/doc/scala"/>