BowlerHatLLC / asconfigc

Command line utility that builds ActionScript projects configured with an asconfig.json file.
https://www.npmjs.com/package/asconfigc
Apache License 2.0
18 stars 5 forks source link
actionscript apache-flexjs apache-royale asconfigc compiler flexjs royale visual-studio-code vscode

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

Command Line Usage

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

The following options are available:

Module Usage

The asconfigc build utility may be loaded as a CommonJS module in a Node.js script.

const asconfigc = require("asconfigc");
const args = ["--sdk", sdkPath, "--debug"];
try {
    await asconfigc.buildWithArgs(args);
} catch(e) {
    // the build failed
    console.error(e);
}

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 & 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: