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 3de24ad  Create jsonly description in case of asjs (SWF + JS) build
3de24ad is described below

commit 3de24ad71d2b22815c574cb7bdfa658f19057ea5
Author: Piotr Zarzycki <[email protected]>
AuthorDate: Tue Jan 2 22:35:10 2018 +0100

    Create jsonly description in case of asjs (SWF + JS) build
---
 build.xml | 37 +++++++++++++++++++++++++++++++++++++
 1 file changed, 37 insertions(+)

diff --git a/build.xml b/build.xml
index 24321f8..cacd657 100644
--- a/build.xml
+++ b/build.xml
@@ -339,6 +339,41 @@
         </echo>
     </target>
 
+    <target name="create-jsonly-description">
+        <tstamp>
+            <format property="build.number.date" pattern="yyyyMMdd" />
+        </tstamp>
+        <echo message="build.number is ${build.number.date}"/>
+        <echo file="${basedir}/royale-sdk-description.xml">&lt;?xml 
version="1.0"?&gt;
+&lt;!--
+
+Licensed to the Apache Software Foundation (ASF) under one or more
+contributor license agreements.  See the NOTICE file distributed with
+this work for additional information regarding copyright ownership.
+The ASF licenses this file to You under the Apache License, Version 2.0
+(the "License"); you may not use this file except in compliance with
+the License.  You may obtain a copy of the License at
+
+http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+--&gt;
+&lt;royale-sdk-description&gt;
+    &lt;name&gt;${release.name}&lt;/name&gt;
+    &lt;version&gt;${release.version}&lt;/version&gt;
+    &lt;build&gt;${build.number.date}&lt;/build&gt;
+    &lt;output-targets&gt;
+        &lt;output-target name="js" version="Ecma5Strict" /&gt;
+    &lt;/output-targets&gt;
+&lt;/royale-sdk-description&gt;
+        </echo>
+    </target>
+
     <target name="create-description" description="Generate 
flex-sdk-description.xml" unless="airsdk.found">
         <tstamp>
                <format property="build.number.date" pattern="yyyyMMdd" />
@@ -912,6 +947,8 @@
 
     <target name="jsonly-package" if="env.AIR_HOME"
         description="subset binary package to be a js-only package if AIR_HOME 
is set and we built a SWF+JS package">
+        <antcall target="create-jsonly-description" />
+
         <!-- assumes temp folder contains the binary package with SWF stuff in 
it -->
         <delete dir="${basedir}/temp/royale-asjs/frameworks/libs" 
failonerror="false" includeEmptyDirs="true" />
         <mkdir dir="${basedir}/temp/royale-asjs/frameworks/libs" />

-- 
To stop receiving notification emails like this one, please contact
['"[email protected]" <[email protected]>'].

Reply via email to