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 4ef2b9e commit ef163ac
Show file tree
Hide file tree
Showing 123 changed files with 3,491 additions and 262 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 [v1.0.24]

```
Add airpackage
```


###### 2021.03.12 [v1.0.023]

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

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

# JobScheduler

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.JobScheduler | 1.0.022 | | |
## Version Details

| Extension | Version | Android Lib | iOS Lib |
| --- | --- | --- | --- |
| com.distriqt.JobScheduler | 1.0.24 | | |
Binary file modified build/com.distriqt.JobScheduler.ane
Binary file not shown.
Binary file modified build/swc/com.distriqt.JobScheduler.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 = JobScheduler

github.repo = distriqt/ANE-JobScheduler
airpackage.name = JobScheduler
airpackage.description = JobScheduler native extension for scheduling particular tasks

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
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 16:54:42 +1000
#Mon, 06 Dec 2021 16:38:12 +1000

version_major=1
version_minor=0
version_build=023
version_build=24
Loading

0 comments on commit ef163ac

Please sign in to comment.