-
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(airpackage): update to support latest Core extension with major …
…Android / iOS updates
- Loading branch information
Showing
125 changed files
with
996 additions
and
661 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,17 +1,19 @@ | ||
name: 'Close stale issues and PR' | ||
on: | ||
schedule: | ||
- cron: '30 1 * * *' | ||
- cron: '30 1 * * 2' | ||
|
||
jobs: | ||
stale: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/stale@v4 | ||
with: | ||
stale-issue-message: 'This issue is stale because it has been open 30 days with no activity. Remove stale label or comment or this will be closed in 5 days.' | ||
stale-issue-label: 'stale' | ||
exempt-issue-labels: 'enhancement' | ||
stale-issue-message: 'This issue is stale because it has been open 60 days with no activity. Remove stale label or comment or this will be closed in 5 days.' | ||
stale-pr-message: 'This PR is stale because it has been open 45 days with no activity. Remove stale label or comment or this will be closed in 10 days.' | ||
close-issue-message: 'This issue was closed because it has been stalled for 5 days with no activity.' | ||
days-before-stale: 30 | ||
days-before-stale: 60 | ||
days-before-close: 5 | ||
days-before-pr-close: -1 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,31 +1,31 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<project default="all" name="ane.build"> | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<project default="all" name="ane.build"> | ||
|
||
<import file="build_common.xml" /> | ||
<property file="${common.basedir}/build_config/build.config" description="build properties" /> | ||
|
||
|
||
<macrodef name="iterate"> | ||
<attribute name="target"/> | ||
<attribute name="directory"/> | ||
<sequential> | ||
<subant target="@{target}"> | ||
<fileset dir="@{directory}"> | ||
<attribute name="target" /> | ||
<attribute name="directory" /> | ||
<sequential> | ||
<subant target="@{target}"> | ||
<fileset dir="@{directory}"> | ||
<include name="**/build_*.xml" /> | ||
</fileset> | ||
</subant> | ||
</sequential> | ||
</macrodef> | ||
</subant> | ||
</sequential> | ||
</macrodef> | ||
|
||
|
||
<!-- | ||
// | ||
// | ||
// VERSIONING | ||
// | ||
// | ||
--> | ||
|
||
<target name="version"> | ||
<antcall target="version_write" /> | ||
</target> | ||
|
@@ -37,21 +37,17 @@ | |
</target> | ||
|
||
<target name="version_write"> | ||
<echo file="build/VERSION.md" append="false" >## Version Details | ||
<echo file="build/VERSION.md" append="false">## Version Details | ||
|
||
| Extension | Version | Android Lib | iOS Lib | | ||
| --- | --- | --- | --- | | ||
</echo> | ||
</echo> | ||
|
||
<var name="version" value="${version_major}.${version_minor}.${version_build}" /> | ||
<echo | ||
file="${output.dir}/VERSION.md" | ||
append="true" | ||
message="| ${output.name} | ${version} | ${version.android} | ${version.ios} |${line.separator}" /> | ||
<echo file="${output.dir}/VERSION.md" append="true" message="| ${output.name} | ${version} | ${version.android} | ${version.ios} |${line.separator}" /> | ||
</target> | ||
|
||
|
||
|
||
<!-- | ||
// | ||
// | ||
|
@@ -62,15 +58,14 @@ | |
|
||
|
||
<target name="build_platforms"> | ||
<iterate target="build" directory="platform" /> | ||
<iterate target="build" directory="platform" /> | ||
</target> | ||
|
||
<target name="clean_platforms"> | ||
<iterate target="clean" directory="platform" /> | ||
<iterate target="clean" directory="platform" /> | ||
</target> | ||
|
||
|
||
|
||
<!-- | ||
// | ||
// | ||
|
@@ -80,17 +75,15 @@ | |
--> | ||
|
||
|
||
|
||
<target name="build_extensions"> | ||
<iterate target="build" directory="extension" /> | ||
<iterate target="build" directory="extension" /> | ||
</target> | ||
|
||
<target name="clean_extensions"> | ||
<iterate target="clean" directory="extension" /> | ||
<iterate target="clean" directory="extension" /> | ||
</target> | ||
|
||
|
||
|
||
<!-- | ||
// | ||
// | ||
|
@@ -100,15 +93,15 @@ | |
--> | ||
|
||
<target name="docs"> | ||
<iterate target="docs" directory="platform" /> | ||
<iterate target="docs" directory="platform" /> | ||
|
||
<!-- Ensure documentation is updated --> | ||
<lower name="project.namelower" value="${project.name}" /> | ||
<var name="docs.dir" value="docs/site/docs/${project.namelower}" /> | ||
<var name="docs.asdocs_dir" value="docs/site/static/asdocs/${project.namelower}" /> | ||
|
||
<!-- Copy ASDocs --> | ||
<copy todir="${docs.asdocs_dir}" overwrite="true" > | ||
<copy todir="${docs.asdocs_dir}" overwrite="true"> | ||
<fileset dir="docs/asdocs" /> | ||
</copy> | ||
|
||
|
@@ -120,11 +113,11 @@ | |
|
||
<target name="wikiToPages"> | ||
<mkdir dir="docs/pages" /> | ||
<echo file="docs/pages/.gitignore" > | ||
<echo file="docs/pages/.gitignore"> | ||
Gemfile | ||
_site | ||
</echo> | ||
|
||
<delete defaultexcludes="false" includeemptydirs="true"> | ||
<fileset dir="docs/pages"> | ||
<include name="**/*" /> | ||
|
@@ -133,18 +126,17 @@ _site | |
</delete> | ||
|
||
|
||
|
||
<!-- Clone the site template --> | ||
<exec executable="git" > | ||
<exec executable="git"> | ||
<arg value="clone" /> | ||
<arg value="[email protected]:airnativeextensions/github-pages-template.git" /> | ||
<arg value="_tmpclone" /> | ||
</exec> | ||
<copy todir="docs/pages" overwrite="true" > | ||
<copy todir="docs/pages" overwrite="true"> | ||
<fileset dir="_tmpclone" /> | ||
<filterchain> | ||
<tokenfilter> | ||
<replacestring from="Template" to="${project.name}"/> | ||
<replacestring from="Template" to="${project.name}" /> | ||
</tokenfilter> | ||
</filterchain> | ||
</copy> | ||
|
@@ -156,57 +148,46 @@ _site | |
- copy images | ||
- sidebar manipulation to html | ||
--> | ||
<copy todir="docs/pages" overwrite="true" > | ||
<copy todir="docs/pages" overwrite="true"> | ||
<fileset dir="docs/wiki" defaultexcludes="false"> | ||
<exclude name="**/_Sidebar.md" /> | ||
<exclude name="**/_Footer.md" /> | ||
<include name="**/*.md" /> | ||
</fileset> | ||
<filterchain> | ||
<tokenfilter> | ||
<replacestring from="[[" to="![]("/> | ||
<replacestring from="]]" to=")"/> | ||
<replacestring from="[[" to="![](" /> | ||
<replacestring from="]]" to=")" /> | ||
</tokenfilter> | ||
</filterchain> | ||
</copy> | ||
<move file="docs/pages/Home.md" tofile="docs/pages/index.md" /> | ||
<copy todir="docs/pages" overwrite="true" > | ||
<copy todir="docs/pages" overwrite="true"> | ||
<fileset dir="docs/wiki" defaultexcludes="false"> | ||
<include name="**/images/**" /> | ||
</fileset> | ||
</copy> | ||
<copy file="docs/wiki/_Sidebar.md" tofile="docs/pages/_includes/Sidebar.html" overwrite="true"> | ||
<filterchain> | ||
<tokenfilter> | ||
<replacestring from="---" to="<br/><hr/>"/> | ||
<replacestring from="---" to="<br/><hr/>" /> | ||
<!--<replacestring from="|Home]]" to="|https://airnativeextensions.com/extension/com.distriqt.${project.name}]]"/>--> | ||
<replaceregex flags="g" | ||
pattern="^(.[^\[\(\<]+)$" | ||
replace="<h4>\1</h4>" /> | ||
<replaceregex flags="g" | ||
pattern="\[\[(.+?)\|Home\]\]" | ||
replace="" /> | ||
<replaceregex flags="g" | ||
pattern="\[\[(.+?)\|(.+?)\]\]" | ||
replace="<a href='\2'>\1<\/a><br\/>" /> | ||
<replaceregex flags="g" | ||
pattern="\[(.+?)\]\((.+?)\)" | ||
replace="<a href='\2'>\1<\/a><br\/>" /> | ||
<replaceregex flags="g" pattern="^(.[^\[\(\<]+)$" replace="<h4>\1</h4>" /> | ||
<replaceregex flags="g" pattern="\[\[(.+?)\|Home\]\]" replace="" /> | ||
<replaceregex flags="g" pattern="\[\[(.+?)\|(.+?)\]\]" replace="<a href='\2'>\1<\/a><br\/>" /> | ||
<replaceregex flags="g" pattern="\[(.+?)\]\((.+?)\)" replace="<a href='\2'>\1<\/a><br\/>" /> | ||
</tokenfilter> | ||
</filterchain> | ||
</copy> | ||
|
||
<!-- Copy ASDocs --> | ||
<copy todir="docs/pages/asdocs" overwrite="true" > | ||
<copy todir="docs/pages/asdocs" overwrite="true"> | ||
<fileset dir="docs/asdocs" /> | ||
</copy> | ||
|
||
</target> | ||
|
||
|
||
|
||
|
||
|
||
<!-- | ||
// | ||
// | ||
|
@@ -215,15 +196,14 @@ _site | |
// | ||
--> | ||
|
||
<target name="airpackage" > | ||
<iterate target="deploy" directory="package" /> | ||
</target> | ||
|
||
<target name="airpackage"> | ||
<iterate target="deploy" directory="package" /> | ||
</target> | ||
|
||
<target name="clean_airpackage" > | ||
<iterate target="clean" directory="package" /> | ||
</target> | ||
|
||
<target name="clean_airpackage"> | ||
<iterate target="clean" directory="package" /> | ||
</target> | ||
|
||
|
||
<!-- | ||
|
@@ -236,19 +216,28 @@ _site | |
|
||
<target name="deploy"> | ||
|
||
<lower name="project.namelower" value="${project.name}" /> | ||
|
||
<delete dir="${docs.external_site_source}/docs/${project.namelower}" /> | ||
<delete dir="${docs.external_site_source}/static/asdocs/${project.namelower}" /> | ||
|
||
<!-- Copy docs to site --> | ||
<copy todir="${docs.external_site_source}" overwrite="true" failonerror="false"> | ||
<fileset dir="docs/site" > | ||
<fileset dir="docs/site"> | ||
<include name="**/*" /> | ||
<exclude name="sidebars.js" /> | ||
</fileset> | ||
</copy> | ||
|
||
<lower name="project.namelower" value="${project.name}" /> | ||
<copy tofile="${docs.external_site_source}/docs/${project.namelower}/changelog.md" overwrite="true" file="CHANGELOG.md" /> | ||
|
||
</target> | ||
<copy tofile="${docs.external_site_source}/docs/${project.namelower}/changelog.md" overwrite="true" file="CHANGELOG.md"> | ||
<filterchain> | ||
<tokenfilter> | ||
<replacestring from="######" to="###" /> | ||
</tokenfilter> | ||
</filterchain> | ||
</copy> | ||
|
||
</target> | ||
|
||
|
||
<!-- | ||
|
@@ -261,9 +250,11 @@ _site | |
|
||
<target name="all" depends="version, build_platforms, build_extensions" /> | ||
|
||
<target name="clean" depends="clean_platforms, clean_extensions, clean_airpackage" /> | ||
<target name="clean" depends="clean_platforms, clean_extensions, clean_airpackage" > | ||
<delete dir="${common.basedir}/${output.dir}" /> | ||
</target> | ||
|
||
<target name="release" depends="version, docs, deploy" /> | ||
|
||
|
||
</project> | ||
</project> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file not shown.
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.