mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-12-02 01:48:05 +00:00
Make the default just build core.
This commit is contained in:
parent
27e2638e76
commit
a895548450
@ -4,7 +4,7 @@
|
||||
Build file for Rhino using Ant (see http://jakarta.apache.org/ant/index.html)
|
||||
Requires Ant version 1.2
|
||||
-->
|
||||
<project name="Rhino" default="package" basedir=".">
|
||||
<project name="Rhino" default="default" basedir=".">
|
||||
|
||||
<target name="properties">
|
||||
<property name="name" value="rhino"/>
|
||||
@ -66,6 +66,12 @@ Requires Ant version 1.2
|
||||
manifest="${src.dir}/manifest" />
|
||||
</target>
|
||||
|
||||
<target name="jar-src" depends="compile-src">
|
||||
<jar jarfile="${dist.dir}/${rhino.jar}"
|
||||
basedir="${build.dest}"
|
||||
manifest="${src.dir}/manifest" />
|
||||
</target>
|
||||
|
||||
<target name="copy-examples" depends="prepare">
|
||||
<copy todir="${dist.examples}">
|
||||
<fileset dir="${src.examples}" includes="*.java,*.js,*.html" />
|
||||
@ -108,7 +114,7 @@ Requires Ant version 1.2
|
||||
windowtitle="${Name}" />
|
||||
</target>
|
||||
|
||||
<target name="package" depends="copy-all,jar">
|
||||
<target name="build-dist" depends="copy-all,jar">
|
||||
<delete file="${dist.file}" />
|
||||
<zip zipfile="${dist.file}"
|
||||
basedir="${build.dir}"
|
||||
@ -116,4 +122,9 @@ Requires Ant version 1.2
|
||||
excludes="classes/**" />
|
||||
</target>
|
||||
|
||||
<target name="default">
|
||||
<echo message="Building core only; for full distribution build, try 'ant build-dist'"/>
|
||||
<antcall target="jar-src"/>
|
||||
</target>
|
||||
|
||||
</project>
|
||||
|
Loading…
Reference in New Issue
Block a user