# airc

> A compiling helper for Adobe Air mobile applications. Originial from air-compiler, updated to use air-sdk and building swf function

Latest version **0.1.8** (published 2015-11-18) · MIT license · 0 weekly downloads

## Install

```sh
npm install airc
pnpm add airc
yarn add airc
bun add airc
```

Provides the command `airc`.

## Health

**Score 15/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support; pre 1.0.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 0.1.8 |
| Published | 2015-11-18 |
| First published | 2015-11-11 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Node | * |
| Dependencies | 5 |
| Known vulnerabilities | 0 (+1 in 1 direct dependencies) |
| Install scripts | no |
| Author | Alvin Law |
| Maintainers | alvinlaw |
| Keywords | air, compiler, adobe, mobile, helper |

## Links

- npm: https://www.npmjs.com/package/airc
- Repository: https://github.com/alvinlaw/airc
- Homepage: https://github.com/alvinlaw/airc#readme
- Issues: https://github.com/alvinlaw/airc/issues
- npm.io page: https://npm.io/package/airc

## Dependencies (5)

- [unzip](https://npm.io/package/unzip.md) *
- [inquirer](https://npm.io/package/inquirer.md) *
- [cli-color](https://npm.io/package/cli-color.md) *
- [underscore](https://npm.io/package/underscore.md) *
- [node-air-sdk](https://npm.io/package/node-air-sdk.md) *

## Alternatives

- [@openai/codex-sdk](https://npm.io/package/@openai/codex-sdk.md) — 731.4K weekly downloads
- [babel-plugin-transform-react-jsx](https://npm.io/package/babel-plugin-transform-react-jsx.md) — 565.0K weekly downloads
- [babel-helper-remove-or-void](https://npm.io/package/babel-helper-remove-or-void.md) — 508.5K weekly downloads
- [@pnpm/store-controller-types](https://npm.io/package/@pnpm/store-controller-types.md) — 186.9K weekly downloads
- [react-native-signature-canvas](https://npm.io/package/react-native-signature-canvas.md) — 155.6K weekly downloads

## Recent versions

- 0.1.8 (latest) — 2015-11-18
- 0.1.7 — 2015-11-18
- 0.1.6 — 2015-11-12
- 0.1.5 — 2015-11-12
- 0.1.4 — 2015-11-12
- 0.1.3 — 2015-11-12
- 0.1.2 — 2015-11-11
- 0.1.1 — 2015-11-11
- 0.1.0 — 2015-11-11

## README

Forked from [air-compiler](https://github.com/la-haute-societe/air-compiler)

updated to 
 - use air-sdk
 - added building swf from actionscript support

# Compiling Helper for Adobe Air SDK

Air SDK compiling helper written for Node.js.
Usefull to clean your testing and distributing workflow.

## Features

- Works on Windows and Mac OSX, not tested on Linux (tell me if you can test it :))
- Stop using batch files to compile or simulate your Air projects, get all your configurations with just one file.
- No more `description.xml` duplicates because of multiple native extensions or multiple app ID.
- No more terminal mess, simplify compiling process with one command.
- Can auto-increment your build numbers.
- Can store your p12 settings, by configuration.
- Push compiled application to iOS and Android devices.
- Can launch pre-configured simulators.
- Can compile to Air / Win / Mac / iOS / Android.
- Auto-detect IP for wifi debugging.

## Installation

```
npm install -g airc 
```

Project hosted on [npm](https://www.npmjs.com/package/airc)
Sources available on [github](https://github.com/alvinlaw/airc)

## Usage

### Init a project

Go to your project folder with terminal and type :
 
```
airc init
```

This will create a `compiler.config.js` file in your project root.
Compiling process will also create a tmp/ folder in your project root.

### Configure a project

Once the project is initialised, just feed the `compiler.config.js` file.
You have to fill mandatory parameters like Air SDK Path etc.
You can add simulation profiles and compiling profiles.

### Compile actionscript to swf

Change build -> name to your actionscript name without .as / .swf in config file
```
airc build
```

### Launch SDK simulator

Just pass the simulator profile name as first argument.

Ex : launch the Air simulator with the default iphone screen size 
```
airc iphone
```

Ex : If you create your own simulator profile in the config file
```
airc mySimulationProfile
```

### Compile

Just pass the compiling profile name as first argument.

Ex : Compile the test profile
```
airc test
```

### Pushing apps to devices

Just type `airc push` to push latested compiled ipa and apk to connected devices.
 
You can set the autoInstall parameter in your compiling profile to push automatically compiled binaries to connected devices.

---
_Source: https://npm.io/package/airc · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
