Class: FlashSDK::ADL
- Inherits:
-
Sprout::Executable::Base
- Object
- Sprout::Executable::Base
- FlashSDK::ADL
- Defined in:
- lib/flashsdk/adl.rb
Instance Method Summary collapse
-
#create_outer_task(*args) ⇒ Object
Overide the default task creation so adl will run regardless of a file product.
-
#default_prefix ⇒ Object
The default prefix.
-
#executable ⇒ Object
The default executable target.
-
#pkg_name ⇒ Object
The the Ruby file that will load the expected Sprout::Specification.
-
#pkg_version ⇒ Object
The default pkg version.
-
#update_rake_task_name_from_args(*args) ⇒ Object
Overide the default behaviour to stop the file product being added to to the CLEAN task.
Instance Method Details
#create_outer_task(*args) ⇒ Object
Overide the default task creation so adl will run regardless of a file product.
50 51 52 53 54 |
# File 'lib/flashsdk/adl.rb', line 50 def create_outer_task *args Rake::Task.define_task(*args) do execute end end |
#default_prefix ⇒ Object
The default prefix
44 |
# File 'lib/flashsdk/adl.rb', line 44 set :default_prefix, '-' |
#executable ⇒ Object
The default executable target.
39 |
# File 'lib/flashsdk/adl.rb', line 39 set :executable, :adl |
#pkg_name ⇒ Object
The the Ruby file that will load the expected Sprout::Specification.
Default value is ‘flex4’
29 |
# File 'lib/flashsdk/adl.rb', line 29 set :pkg_name, 'flex4' |
#pkg_version ⇒ Object
The default pkg version
34 |
# File 'lib/flashsdk/adl.rb', line 34 set :pkg_version, ">= #{FlashSDK::VERSION}" |
#update_rake_task_name_from_args(*args) ⇒ Object
Overide the default behaviour to stop the file product being added to to the CLEAN task.
60 61 62 63 |
# File 'lib/flashsdk/adl.rb', line 60 def update_rake_task_name_from_args *args self.rake_task_name = parse_rake_task_arg args.last self.rake_task_name end |