mirror of
https://github.com/jgraph/drawio.git
synced 2025-02-23 17:40:10 +08:00
Update build.xml
This commit is contained in:
parent
ad7baf19a1
commit
1c77a6165b
@ -6,27 +6,6 @@
|
||||
<taskdef name="jscomp" classname="com.google.javascript.jscomp.ant.CompileTask" classpath="${jscompiler}" />
|
||||
|
||||
<target name="merge">
|
||||
<concat destfile="${basedir}/../../build/shapes.js" fixlastline="yes" append="no">
|
||||
<fileset dir="${war.dir}/shapes" includes="**/*.js"/>
|
||||
<fileset dir="${war.dir}/stencils" includes="**/*.js"/>
|
||||
</concat>
|
||||
|
||||
<java fork="false" classname="Xml2Js" classpath=".">
|
||||
<arg value="../../src/main/webapp/stencils"/>
|
||||
<arg value="../../src/main/webapp/js/stencils.min.js"/>
|
||||
</java>
|
||||
|
||||
<jscomp compilationLevel="simple" debug="false" forceRecompile="true" output="${war.dir}/js/shapes-14-6-5.min.js">
|
||||
<sources dir="${basedir}/../../build">
|
||||
<file name="shapes.js" />
|
||||
</sources>
|
||||
</jscomp>
|
||||
|
||||
<tstamp>
|
||||
<format property="time.stamp" pattern="MM/dd/yyyy hh:mm aa" unit="hour"/>
|
||||
</tstamp>
|
||||
|
||||
<delete dir="${basedir}/../../build"/>
|
||||
</target>
|
||||
|
||||
<target name="app" depends="merge">
|
||||
|
Loading…
Reference in New Issue
Block a user