lib/flashsdk/adl.rb in flashsdk-1.0.27.pre vs lib/flashsdk/adl.rb in flashsdk-1.0.28.pre

- old
+ new

@@ -6,13 +6,13 @@ add_param :pubid, String add_param :nodebug, Boolean - add_param :profile, String + add_param :profile, String, { :delimiter => ' ' } - add_param :screensize, String + add_param :screensize, String, { :delimiter => ' ' } add_param :app_desc, String, { :hidden_name => true, :delimiter => ' ' } add_param :root_dir, String, { :hidden_name => true, :delimiter => ' ' } @@ -35,10 +35,21 @@ ## # The default executable target. # set :executable, :adl + + ## + # The default prefix + # + set :default_prefix, '-' end +end + +def adl *args, &block + exe = FlashSDK::ADL.new + exe.to_rake(*args, &block) + exe end ## # TODO: This should NOT be here! # This is preventing that method from working