Skip to content

Commit

Permalink
Add airpackage
Browse files Browse the repository at this point in the history
  • Loading branch information
marchbold committed Dec 6, 2021
1 parent d489fbd commit 978ee20
Show file tree
Hide file tree
Showing 130 changed files with 3,539 additions and 268 deletions.
17 changes: 17 additions & 0 deletions .github/workflows/issues.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
name: 'Close stale issues and PR'
on:
schedule:
- cron: '30 1 * * *'

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-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-close: 5
days-before-pr-close: -1
7 changes: 7 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,12 @@


###### 2021.12.06 [v3.0.8]

```
Add airpackage
```


###### 2021.03.12 [v3.0.007]

```
Expand Down
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
built by [distriqt //](http://airnativeextensions.com)
built by [distriqt //](https://airnativeextensions.com)


![Exceptions](images/promo.png)
![Exceptions](https://raw.githubusercontent.com/distriqt/ANE-Exceptions/master/images/promo.png)


# Exceptions
Expand Down Expand Up @@ -67,7 +67,7 @@ The highest quality and widest range of Native Extensions for Adobe AIR
With many native extensions available, we are the largest provider of native extensions for AIR developers.
Our mobile solutions allow developers to fast-forward development and focus on building great games and apps.

http://airnativeextensions.com
https://airnativeextensions.com



Expand Down
35 changes: 29 additions & 6 deletions build.xml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
<project default="all" name="ane.build">

<import file="build_common.xml" />
<import file="build_docsconversion.xml" />
<property file="${common.basedir}/build_config/build.config" description="build properties" />


Expand All @@ -28,21 +27,26 @@
-->

<target name="version">
<antcall target="version_increment" />
<antcall target="version_write" />
</target>

<target name="version_increment" if="${version.autoincrement}">
<propertyfile file="./build_config/version.config">
<entry key="version_build" type="int" operation="+" value="1" pattern="000" />
<entry key="version_build" type="int" operation="+" value="1" />
</propertyfile>
</target>

<target name="version_write">
<echo file="build/VERSION.md" append="false" >## Version Details

| Extension | Version | Android Lib | iOS Lib |
| --- | --- | --- | --- |
</echo>

<var name="version" value="${version_major}.${version_minor}.${version_build}" />
<echo
file="${output.dir}/VERSION.md"
append="false"
append="true"
message="| ${output.name} | ${version} | ${version.android} | ${version.ios} |${line.separator}" />
</target>

Expand Down Expand Up @@ -203,6 +207,25 @@ _site



<!--
//
//
// AIR PACKAGE
//
//
-->

<target name="airpackage" >
<iterate target="deploy" directory="package" />
</target>


<target name="clean_airpackage" >
<iterate target="clean" directory="package" />
</target>



<!--
//
//
Expand Down Expand Up @@ -238,9 +261,9 @@ _site

<target name="all" depends="version, build_platforms, build_extensions" />

<target name="clean" depends="clean_platforms, clean_extensions" />
<target name="clean" depends="clean_platforms, clean_extensions, clean_airpackage" />

<target name="release" depends="docs, deploy" />
<target name="release" depends="version, docs, deploy" />


</project>
6 changes: 5 additions & 1 deletion build/VERSION.md
Original file line number Diff line number Diff line change
@@ -1 +1,5 @@
| com.distriqt.Exceptions | 3.0.006 | | |
## Version Details

| Extension | Version | Android Lib | iOS Lib |
| --- | --- | --- | --- |
| com.distriqt.Exceptions | 3.0.8 | | |
Binary file modified build/com.distriqt.Exceptions.ane
Binary file not shown.
Binary file modified build/swc/com.distriqt.Exceptions.swc
Binary file not shown.
33 changes: 14 additions & 19 deletions build_common.xml
Original file line number Diff line number Diff line change
Expand Up @@ -15,10 +15,13 @@
<target name="bootstrap">
<mkdir dir="${user.home}/.ant/lib"/>
<get dest="${user.home}/.ant/lib/ant-contrib.jar" src="https://search.maven.org/remotecontent?filepath=ant-contrib/ant-contrib/1.0b3/ant-contrib-1.0b3.jar"/>

<get dest="${user.home}/.ant/lib/rhino.jar" src="https://repo1.maven.org/maven2/org/mozilla/rhino/1.7.14-RC1/rhino-1.7.14-RC1.jar"/>
<get dest="${user.home}/.ant/lib/bsf.jar" src="http://search.maven.org/remotecontent?filepath=bsf/bsf/2.4.0/bsf-2.4.0.jar"/>
<get dest="${user.home}/.ant/lib/commons-logging-api.jar" src="http://search.maven.org/remotecontent?filepath=commons-logging/commons-logging-api/1.1/commons-logging-api-1.1.jar"/>
</target>



<!-- PLATFORM INFORMATION -->

<condition property="isWindows" else="false">
Expand Down Expand Up @@ -67,19 +70,10 @@
<attribute name="value" />
<![CDATA[
project.setProperty( attributes.get( "name" ),
attributes.get( "value" ).replace( ".", "" ) );
attributes.get( "value" ).replaceAll( "\\.", "" ) );
]]>
</scriptdef>

<scriptdef language="javascript" name="cleanpath">
<attribute name="name" />
<attribute name="value" />
<![CDATA[
project.setProperty( attributes.get( "name" ),
attributes.get( "value" ).replace( /\/\/|\/\.\//g, "/" ) );
]]>
</scriptdef>

<scriptdef language="javascript" name="wrapxmltag">
<attribute name="name" />
<attribute name="input" />
Expand All @@ -96,6 +90,7 @@
]]>
</scriptdef>


<scriptdef language="javascript" name="outputname">
<attribute name="name" />
<attribute name="prefix" />
Expand All @@ -104,12 +99,12 @@
<![CDATA[
var outputName = "";
var prefix = attributes.get( "prefix" );
var prefix = String(attributes.get( "prefix" ));
if (prefix.length > 0)
outputName = prefix + ".";
var grp = attributes.get( "grp" ).toLowerCase();
var projectname = attributes.get( "projectname" );
var grp = String(attributes.get( "grp" ).toLowerCase());
var projectname = String(attributes.get( "projectname" ));
if (grp.length > 0)
{
outputName += grp + "." + projectname;
Expand All @@ -130,12 +125,12 @@
<![CDATA[
var packageName = "";
var prefix = attributes.get( "prefix" );
var prefix = String(attributes.get( "prefix" ));
if (prefix.length > 0)
packageName = prefix + ".";
var grp = attributes.get( "grp" ).toLowerCase();
var projectname = attributes.get( "projectname" ).toLowerCase();
var grp = String(attributes.get( "grp" ).toLowerCase());
var projectname = String(attributes.get( "projectname" ).toLowerCase());
if (grp.length > 0)
{
packageName += grp + "." + projectname;
Expand All @@ -153,7 +148,7 @@
<attribute name="value" />
<![CDATA[
project.setProperty( attributes.get( "name" ),
attributes.get( "value" ).replace( /\./g, "/" ) );
attributes.get( "value" ).replaceAll( "\\.", "/" ) );
]]>
</scriptdef>

Expand All @@ -162,7 +157,7 @@
<attribute name="value" />
<![CDATA[
project.setProperty( attributes.get( "name" ),
attributes.get( "value" ).replace( /\./g, "-" ) );
attributes.get( "value" ).replaceAll( "\\.", "-" ) );
]]>
</scriptdef>

Expand Down
4 changes: 4 additions & 0 deletions build_config/build.config
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,10 @@
project.grp =
project.name = Exceptions

github.repo = distriqt/ANE-Exceptions
airpackage.name = Exceptions
airpackage.description = Enable global exception handle for native exceptions

DEBUG_MODE=false

package.basename = com.distriqt.extension
Expand Down
6 changes: 5 additions & 1 deletion build_config/global.config
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,8 @@
# DEFAULTS
output.tmpdir = .tmp
codetmpl = ./build_config/_codetmpl
airpackage.dir = ./package
airpackage.tmpl = ${airpackage.dir}/_packagetmpl
version.autoincrement = true
version.android =
version.ios =
Expand Down Expand Up @@ -47,7 +49,9 @@ supportlibs.coreframework = ${supportlibs.corelibraries}/platform/ios/build

# WINDOWS
windows.msbuildpath = C:\\Program Files (x86)\\Microsoft Visual Studio\\2017\\Community\\MSBuild\\15.0\\Bin\\MSBuild.exe
windows.outputdir = build
windows.outputdir = build/x86
windows.outputdir64 = build/x64
windows.buildconfig = Release


# MACOS
Expand Down
2 changes: 1 addition & 1 deletion build_config/platform_android.xml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<platform xmlns="http://ns.adobe.com/air/extension/@AIRVERSION@">
<copyright>2019 // distriqt</copyright>
<copyright>2021 // distriqt</copyright>
<packagedDependencies>
@JARS@
</packagedDependencies>
Expand Down
3 changes: 1 addition & 2 deletions build_config/platform_ios.xml
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
<platform xmlns="http://ns.adobe.com/air/extension/@AIRVERSION@">
<copyright>2019 // distriqt</copyright>
<copyright>2021 // distriqt</copyright>
<sdkVersion>9.0</sdkVersion>
<linkerOptions>
<option>-ios_version_min 9.0</option>
<option>-w</option>
</linkerOptions>
<packagedDependencies>
Expand Down
4 changes: 2 additions & 2 deletions build_config/version.config
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#Fri, 12 Mar 2021 22:49:38 +1000
#Mon, 06 Dec 2021 16:20:13 +1000

version_major=3
version_minor=0
version_build=007
version_build=8
Loading

0 comments on commit 978ee20

Please sign in to comment.