Skip to content

Command line utility that builds ActionScript projects configured with an asconfig.json file.

License

Notifications You must be signed in to change notification settings

BowlerHatLLC/asconfigc

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

asconfigc

A command line utility that compiles an ActionScript project configured with an asconfig.json file. This utility parses the configuration file and runs the compiler with the appropriate options. It can also package an Adobe AIR application. Supports a variety of ActionScript SDKs, including Adobe AIR SDK & Compiler, Apache Flex, the Feathers SDK, and Apache Royale.

Installation

Requires Node.js.

npm install -g asconfigc

Usage

Run asconfigc in a directory containing an asconfig.json file.

The following options are available:

  • -p FILE OR DIRECTORY or --project FILE OR DIRECTORY

    Compile a project with the path to its configuration file or a directory containing asconfig.json. If omitted, will look for asconfig.json in current working directory.

  • --sdk DIRECTORY

    Specify the directory where the ActionScript SDK is located. If omitted, defaults to checking FLEX_HOME and PATH environment variables for a supported SDK.

  • --debug=true or --debug=false

    Specify debug or release mode. Overrides the debug compiler option, if specified in asconfig.json.

  • --air PLATFORM

    Package the project as an Adobe AIR application. The allowed platforms include android, ios, windows, mac, and air.

  • -h or --help

    Print help message.

  • -v or --version

    Print the version of asconfigc.

Made with Apache Royale

The source code for the asconfigc utility is written in ActionScript. That's right, a utility that runs on Node.js — written in ActionScript and compiled with Apache Royale. Pretty cool, right?

Support this project

The ActionScript and MXML extension for Visual Studio Code and asconfigc are developed by Josh Tynjala with the support of community members like you.

Support Josh Tynjala on Patreon

Special thanks to the following sponsors for their generous support: