Repository: flex-falcon Updated Branches: refs/heads/develop 27448ec2f -> 3f12980ed
add externc.js.swc target that builds js.swc from the command-line. Might be broken. Needs testing and integration into the main build. Project: http://git-wip-us.apache.org/repos/asf/flex-falcon/repo Commit: http://git-wip-us.apache.org/repos/asf/flex-falcon/commit/3f12980e Tree: http://git-wip-us.apache.org/repos/asf/flex-falcon/tree/3f12980e Diff: http://git-wip-us.apache.org/repos/asf/flex-falcon/diff/3f12980e Branch: refs/heads/develop Commit: 3f12980edf2838b1ecc0efb5e48b5848c5e69562 Parents: 09dd9ad Author: Alex Harui <[email protected]> Authored: Sat Jun 20 00:05:37 2015 -0700 Committer: Alex Harui <[email protected]> Committed: Sat Jun 20 00:06:17 2015 -0700 ---------------------------------------------------------------------- build.xml | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/flex-falcon/blob/3f12980e/build.xml ---------------------------------------------------------------------- diff --git a/build.xml b/build.xml index 8aee807..336aba8 100644 --- a/build.xml +++ b/build.xml @@ -527,6 +527,23 @@ <ant dir="compiler.jx.tests" target="js.swc"/> </target> + <target name="externc.js.swc" > + <echo>${env.ASJS_HOME}</echo> + <java jar="${basedir}/compiler.jx/lib/externc.jar" fork="true" + failonerror="false"> + <arg value="+flexlib=${env.ASJS_HOME}/frameworks" /> + <arg value="-debug" /> + <arg value="-load-config=closure-compiler/js-compile-config.xml" /> + </java> + <java jar="${basedir}/compiler/generated/dist/sdk/lib/falcon-compc.jar" fork="true" + failonerror="true"> + <arg value="+flexlib=${env.ASJS_HOME}/frameworks" /> + <arg value="-debug" /> + <arg value="-load-config=${basedir}/closure-compiler/compile-config.xml" /> + <arg value="-output=${basedir}/closure-compiler/js.swc" /> + </java> + </target> + <target name="binary-package" description="Package binary files in zip and tar-gzip file.">
