You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@royale.apache.org by pi...@apache.org on 2018/01/01 17:18:43 UTC
[royale-asjs] branch develop updated: Add output-targets to
sdk-description file
This is an automated email from the ASF dual-hosted git repository.
piotrz pushed a commit to branch develop
in repository https://gitbox.apache.org/repos/asf/royale-asjs.git
The following commit(s) were added to refs/heads/develop by this push:
new 4bbf63c Add output-targets to sdk-description file
4bbf63c is described below
commit 4bbf63cdedf9c0a6d84b4bbd61729ba24e6e93ba
Author: Piotr Zarzycki <pi...@gmail.com>
AuthorDate: Mon Jan 1 18:18:37 2018 +0100
Add output-targets to sdk-description file
Add output-targets to sdk-description file which showing list of possible outputs provided by sdk.
---
build.xml | 50 ++++++++++++++++++++++++++++++++++++++++++++++----
1 file changed, 46 insertions(+), 4 deletions(-)
diff --git a/build.xml b/build.xml
index 2342632..8e7a01a 100644
--- a/build.xml
+++ b/build.xml
@@ -320,6 +320,44 @@
unless="ROYALE_TYPEDEFS_HOME"/>
</target>
+ <target name="swf-js-output-royale-description" if="env.PLAYERGLOBAL_HOME">
+ <echo file="${basedir}/royale-sdk-description.xml" append="true">
+<output-targets>
+ <output-target name="js" version="Ecma5Strict" />
+ <output-target name="swf" version="AS3" AIR="${air.version}" Flash="${playerglobal.version}" />
+</output-targets>
+</royale-sdk-description>
+ </echo>
+ </target>
+
+ <target name="js-output-royale-description" unless="env.PLAYERGLOBAL_HOME">
+ <echo file="${basedir}/royale-sdk-description.xml" append="true">
+<output-targets>
+ <output-target name="js" version="Ecma5Strict" />
+</output-targets>
+</royale-sdk-description>
+ </echo>
+ </target>
+
+ <target name="swf-js-output-flex-description" if="env.PLAYERGLOBAL_HOME">
+ <echo file="${basedir}/flex-sdk-description.xml" append="true">
+<output-targets>
+ <output-target name="js" version="Ecma5Strict" />
+ <output-target name="swf" version="AS3" AIR="${air.version}" Flash="${playerglobal.version}" />
+</output-targets>
+</flex-sdk-description>
+ </echo>
+ </target>
+
+ <target name="js-output-flex-description" unless="env.PLAYERGLOBAL_HOME">
+ <echo file="${basedir}/flex-sdk-description.xml" append="true">
+<output-targets>
+ <output-target name="js" version="Ecma5Strict" />
+</output-targets>
+</flex-sdk-description>
+ </echo>
+ </target>
+
<target name="create-description" description="Generate flex-sdk-description.xml" unless="airsdk.found">
<tstamp>
<format property="build.number.date" pattern="yyyyMMdd" />
@@ -345,11 +383,13 @@
-->
<flex-sdk-description>
-<name>${release.name} ${release.version} FP${playerglobal.version} AIR${air.version} ${locale}</name>
+<name>${release.name} ${release.version}</name>
<version>${fb.release.version}</version>
<build>${build.number.date}</build>
-</flex-sdk-description>
</echo>
+ <antcall target="js-output-flex-description" />
+ <antcall target="swf-js-output-flex-description" />
+
<echo file="${basedir}/royale-sdk-description.xml"><?xml version="1.0"?>
<!--
@@ -370,11 +410,13 @@
-->
<royale-sdk-description>
-<name>${release.name} ${release.version} FP${playerglobal.version} AIR${air.version} ${locale}</name>
+<name>${release.name} ${release.version}</name>
<version>${fb.release.version}</version>
<build>${build.number.date}</build>
-</royale-sdk-description>
</echo>
+
+ <antcall target="js-output-royale-description" />
+ <antcall target="swf-js-output-royale-description" />
</target>
<target name="create-config" description="Create config files" unless="airsdk.found">
--
To stop receiving notification emails like this one, please contact
['"commits@royale.apache.org" <co...@royale.apache.org>'].