Home | History | Annotate | Download | only in src
      1 <project name="compression" default="jar">
      2   <target name="clean">
      3     <delete dir="build/classes" />
      4     <delete dir="build/jar" />
      5   </target>
      6 
      7   <target name="compile">
      8     <mkdir dir="build/classes" />
      9     <javac srcdir="src" destdir="build/classes" includeantruntime="false" debug="true">
     10       <compilerarg value="-Xlint" />
     11       <classpath>
     12         <fileset dir="lib" includes="*.jar" />
     13       </classpath>
     14     </javac>
     15   </target>
     16 
     17   <target name="jar" depends="compile">
     18     <mkdir dir="build/jar" />
     19     <jar destfile="build/jar/compression.jar" basedir="build/classes">
     20       <zipfileset src="lib/eotconverter.jar" />
     21       <zipfileset src="lib/guava-11.0.1.jar" />
     22       <zipfileset src="lib/sfntly.jar" />
     23       <zipfileset src="lib/woffconverter.jar" />
     24       <zipfileset src="lib/lzma.jar" />
     25       <manifest>
     26         <attribute name="Main-Class" value="com.google.typography.font.compression.SimpleRunner" />
     27       </manifest>
     28     </jar>
     29   </target>
     30 
     31 </project>
     32 
     33