facebook-workplaceoutlookemailmicrosoft-teamsdiscordmessengercustom-servicesmacoslinuxwindowsinboxwhatsappicloudtweetdeckhipchattelegramhangoutsslackgmailskype
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
71 lines
2.3 KiB
71 lines
2.3 KiB
9 years ago
|
<project name="x-js-impl">
|
||
|
<target name="-init-compile-js" depends="-init-compiler">
|
||
|
<if>
|
||
|
<equals arg1="theme" arg2="${package.type}"/>
|
||
|
<then>
|
||
|
<property name="build.compile.js.filter">
|
||
|
<![CDATA[
|
||
|
union
|
||
|
-tag=package-${package.name}
|
||
|
and
|
||
|
include
|
||
|
-tag=package-${package.name}-base
|
||
|
and
|
||
|
${build.operations}
|
||
|
]]>
|
||
|
</property>
|
||
|
</then>
|
||
|
<else>
|
||
|
<property name="build.compile.js.filter">
|
||
|
<![CDATA[
|
||
|
union
|
||
|
-tag=package-${package.name}
|
||
|
and
|
||
|
${build.operations}
|
||
|
]]>
|
||
|
</property>
|
||
|
</else>
|
||
|
</if>
|
||
|
</target>
|
||
|
|
||
|
<target name="-compile-js-debug" depends="-init-compile-js">
|
||
|
<x-compile refid="${compiler.ref.id}">
|
||
|
<![CDATA[
|
||
|
restore
|
||
|
package-${package.name}-all
|
||
|
and
|
||
|
-options=${build.compile.js.debug.options}
|
||
|
${build.compile.js.filter}
|
||
|
and
|
||
|
concatenate
|
||
|
-remove-text-references=${build.remove.references}
|
||
|
-output-file=${build.all.debug.js}
|
||
|
${build.concat.debug.options}
|
||
|
]]>
|
||
|
</x-compile>
|
||
|
</target>
|
||
|
|
||
|
<target name="-compile-js-non-debug" depends="-init-compile-js">
|
||
|
<x-compile refid="${compiler.ref.id}">
|
||
|
<![CDATA[
|
||
|
restore
|
||
|
package-${package.name}-all
|
||
|
and
|
||
|
-options=${build.compile.js.options}
|
||
|
${build.compile.js.filter}
|
||
|
and
|
||
|
concatenate
|
||
|
-remove-text-references=${build.remove.references}
|
||
|
${build.compile.js.compress}
|
||
|
-output-file=${build.all.js}
|
||
|
${build.concat.options}
|
||
|
]]>
|
||
|
</x-compile>
|
||
|
</target>
|
||
|
|
||
|
<target name="-before-js"/>
|
||
|
<target name="-after-js"/>
|
||
|
<target name="-js"
|
||
|
depends="-compile-js-debug,-compile-js-non-debug"/>
|
||
|
|
||
|
</project>
|