summaryrefslogtreecommitdiff
path: root/build.xml
diff options
context:
space:
mode:
Diffstat (limited to 'build.xml')
-rw-r--r--build.xml8
1 files changed, 7 insertions, 1 deletions
diff --git a/build.xml b/build.xml
index fc315ee63f..32acdbfac8 100644
--- a/build.xml
+++ b/build.xml
@@ -1541,9 +1541,15 @@ FORWARDED TARGETS FOR PACKAGING
<target name="distpack" depends="dist.done">
<ant antfile="${src.dir}/build/pack.xml" target="pack-all.done" inheritall="yes" inheritrefs="yes"/>
</target>
+
+ <target name="distpack-opt"
+ description="Builds an optimised distribution.">
+ <antcall target="distpack">
+ <param name="scalac.args.optimise" value="-optimise"/>
+ </antcall>
+ </target>
<!-- Used by the scala-installer script -->
- <target name="alldistpack" depends="distpack"/>
<target name="allallclean" depends="all.clean"/>
<!-- ===========================================================================