Skip to content
Browse files

Moving where we specify the target parameter to accommodate adt 'prob…

…lems'

When building a captive runtime app for the mac the order of the
parameters passed to adt is important. There's nothing in the
documentation about this, but the target parameter has to be after the
signing options otherwise adt will incorrectly complain that `Native
signing not supported on mac`.

Given how brittle art is my only worry with this commit is that it
causes problems elsewhere.
  • Loading branch information...
1 parent 18e05ba commit 60a3ef492a82a36688de453b904774a56439ca72 @simongregory simongregory committed Jan 23, 2012
Showing with 6 additions and 5 deletions.
  1. +6 −5 lib/flashsdk/adt.rb
View
11 lib/flashsdk/adt.rb
@@ -71,11 +71,6 @@ class ADT < Sprout::Executable::Base
add_param :package, Boolean, { :hidden_value => true }
##
- # Use a specific target, like apk-debug for Android or ipa-debug for iOS
- #
- add_param :target, String, { :delimiter => ' ' }
-
- ##
# Set true to create a certificate.
#
# If this value is true, you can optionally set org_unit, org_name and country.
@@ -156,6 +151,12 @@ class ADT < Sprout::Executable::Base
# The AIR runtime version to use.
add_param :version, String, { :delimiter => ' ' }
+
+ ##
+ # Use a specific target, like apk-debug for Android or ipa-debug for iOS
+ #
+ add_param :target, String, { :delimiter => ' ' }
+
##
# The AIR file that should be created
# after packaging is complete.

0 comments on commit 60a3ef4

Please sign in to comment.
Something went wrong with that request. Please try again.