This is an automated email from the ASF dual-hosted git repository.

Harbs pushed a commit to branch codegraph
in repository https://gitbox.apache.org/repos/asf/royale-asjs.git


The following commit(s) were added to refs/heads/codegraph by this push:
     new c98f445324 Add codegraph target to build process for generating public 
API code graphs
c98f445324 is described below

commit c98f4453243e9d02da617b1ade73b9e2a518058e
Author: Harbs <[email protected]>
AuthorDate: Sat Aug 1 22:29:13 2026 +0300

    Add codegraph target to build process for generating public API code graphs
---
 build.xml | 23 +++++++++++++++++++----
 1 file changed, 19 insertions(+), 4 deletions(-)

diff --git a/build.xml b/build.xml
index 76c409c898..340533dc2d 100644
--- a/build.xml
+++ b/build.xml
@@ -173,11 +173,11 @@
         description="Packages the source release kit which is the official 
Apache release."/>
         
     <target name="binary-release" 
-        
depends="setup-binary-release,set.base.folder,build-all,main,sample-themes,checkintests,check-goog-home,binary-package,jsonly-package"
+        
depends="setup-binary-release,set.base.folder,build-all,main,sample-themes,checkintests,check-goog-home,codegraphs,binary-package,jsonly-package"
         description="Builds and packages the binary kit which is provided as a 
convenience."/>    
 
     <target name="binary-release-jenkins" 
-        
depends="setup-binary-release,main-jenkins,sample-themes,binary-package"
+        
depends="setup-binary-release,main-jenkins,sample-themes,codegraphs,binary-package"
         description="Builds and packages the binary kit which is provided as a 
convenience."/>    
 
     <target name="source-release-noclean" 
@@ -185,9 +185,14 @@
         description="Packages the source release kit which is the official 
Apache release."/>
         
     <target name="binary-release-noclean" 
-        depends="main,sample-themes,checkintests,binary-package"
+        depends="main,sample-themes,checkintests,codegraphs,binary-package"
         description="Builds and packages the binary kit which is provided as a 
convenience."/>    
 
+    <target name="codegraphs" description="Generates and indexes public API 
code graphs for release packages">
+        <ant dir="${basedir}/frameworks" target="codegraphs"/>
+        <ant dir="${basedir}/frameworks" target="codegraph-index"/>
+    </target>
+
     <target name="doc-packages" 
         depends="asdoc-package,javadocs"
         description="Build and package the asdocs for the framework clases and 
the javadocs."/>
@@ -823,7 +828,7 @@ limitations under the License.
     </target>
     
     <target name="stage-top-level" >
-        <copy file="${basedir}/npm/js-swf/package.json" 
todir="${basedir}/temp" />
+        <copy file="${basedir}/npm/js-swf/package.json" 
todir="${basedir}/temp" overwrite="true"/>
         <copy todir="${basedir}/temp" includeEmptyDirs="false">
             <fileset dir="${basedir}/releasemgr" includes="**" />
         </copy>
@@ -1048,6 +1053,8 @@ limitations under the License.
         description="Package binary files in zip and tar-gzip file.">
 
         <antcall target="stage-source"/>
+        <antcall target="stage-top-level"/>
+        <antcall target="stage-codegraphs"/>
                 
         <!-- concat the license file with the binary license file for the 3rd 
party deps -->
         <concat destfile="${basedir}/temp/LICENSE">
@@ -1063,6 +1070,14 @@ limitations under the License.
         <!--<copy todir="${basedir}/out" 
file="${basedir}/apache-royale-installer-config.xml" />-->
     </target>
 
+    <target name="stage-codegraphs">
+        <ant dir="${basedir}/frameworks" target="codegraph-index"/>
+        <delete dir="${staging-dir}/frameworks/codegraphs"/>
+        <copy todir="${staging-dir}/frameworks/codegraphs">
+            <fileset dir="${basedir}/frameworks/target/codegraphs"/>
+        </copy>
+    </target>
+
        <target name="copy-gcl-from-goog-home" if="GOOG_HOME">
                <echo message="Copying GCL from ${GOOG_HOME}"></echo>
                <copy todir="${staging-dir}/js/lib/google/closure-library">

Reply via email to