Skip to content
This repository has been archived by the owner on Sep 6, 2019. It is now read-only.
/ node-air-sdk Public archive
forked from dayvson/air-sdk

A NPM wrapper for the Adobe AIR SDK.

Notifications You must be signed in to change notification settings

alvinlaw/node-air-sdk

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

45 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

node-air-sdk

forked from air-sdk update to support "adt" and "adl" command

A NPM wrapper for the Adobe AIR SDK. The idea it to provide simple access to AIR_SDK binaries using node. The package has been set up to fetch the Adobe AIR SDK and run mxmlc, fdb, compc, optimizer, swcdepends, etc for MacOS, Linux based platforms and Windows.

Building and Installing

npm install node-air-sdk 
npm install -g -node-air-sdk #installing globally

Download the source and run the tests.

npm install .
npm test

Usage for (Mac, Linux)

var airSdk = require('node-air-sdk');
var mxmlc = airSdk.bin.mxmlc;
var src = '/fixtures/ErrorApp.as');
var childArgs = [mxmlc, '+configname=air', src];
childProcess.execFile('/bin/sh', mxmlcArgs, function(err, stdout, stderr) {
	console.log('Swf file generated');
});

External Dependencies

If you intend to use this module after it is installed, almost all of the Flex SDK binary/executable files have an implicit dependency on Java being installed on the system and that it is available in the PATH such that it can be invoked just by typing the command java.

About

A NPM wrapper for the Adobe AIR SDK.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 100.0%