Permalink
Browse files

Added latest link for sources so we can include them in distributions.

  • Loading branch information...
1 parent 2a917f4 commit 506bcfe71c93160ebfa0ca9b8b170b4b54e844e9 @jsuereth jsuereth committed Mar 26, 2012
Showing with 15 additions and 1 deletion.
  1. +15 −1 src/build/pack.xml
View
16 src/build/pack.xml
@@ -95,8 +95,22 @@ MAIN DISTRIBUTION PACKAGING
</fileset>
</checksum>
</target>
+
+ <target name="pack-archives.latest.unix" depends="pack-archives.src" unless="os.win">
+ <symlink link="${dists.dir}/archives/scala-latest-sources.tgz"
+ resource="${dists.dir}/archives/scala-${version.number}-sources.tgz"
+ overwrite="yes"/>
+ </target>
+
+ <target name="pack-archives.latest.win" depends="pack-archives.src" if="os.win">
+ <copy tofile="${dists.dir}/archives/scala-latest-sources.tgz">
+ <fileset dir="${dists.dir}/archives">
+ <include name="scala-${version.number}-sources.tgz"/>
+ </fileset>
+ </copy>
+ </target>
- <target name="pack-archives.done" depends="pack-archives.src"/>
+ <target name="pack-archives.done" depends="pack-archives.src, pack-archives.latest.win, pack-archives.latest.unix"/>
<!-- ===========================================================================
MAIN DISTRIBUTION SBAZ

0 comments on commit 506bcfe

Please sign in to comment.