Added new -air-simulator option for lime test air -ios (or lime test air -android)
This launches the AIR simulator (ADL), but it passes additional options to tell it to simulate a mobile device.
This commit is contained in:
@@ -1026,6 +1026,8 @@ class CommandLineTools
|
||||
Log.println(" \x1b[3m(flash)\x1b[0m \x1b[1m-web\x1b[0m -- Test Flash target using a web template");
|
||||
Log.println(" \x1b[3m(air)\x1b[0m \x1b[1m-ios\x1b[0m -- Target iOS instead of AIR desktop");
|
||||
Log.println(" \x1b[3m(air)\x1b[0m \x1b[1m-android\x1b[0m -- Target Android instead of AIR desktop");
|
||||
Log.println(" \x1b[3m(air)\x1b[0m \x1b[1m-ios -air-simulator\x1b[0m -- Target AIR simulator as iOS");
|
||||
Log.println(" \x1b[3m(air)\x1b[0m \x1b[1m-android -air-simulator\x1b[0m -- Target AIR simulator as Android");
|
||||
|
||||
if (command != "run" && command != "trace")
|
||||
{
|
||||
|
||||
@@ -68,7 +68,7 @@ class AIRPlatform extends FlashPlatform
|
||||
|
||||
// TODO: Should we package on desktop in "deploy" command instead?
|
||||
|
||||
if (targetPlatformType != DESKTOP)
|
||||
if (targetPlatformType != DESKTOP && !project.targetFlags.exists("air-simulator"))
|
||||
{
|
||||
var files = [project.app.file + ".swf"];
|
||||
for (asset in project.assets)
|
||||
|
||||
Reference in New Issue
Block a user