Sha256: 94aaecb760a84f33fa766da4972fdee034bf89a950a92ed80e9110d7ffe0306d

Contents?: true

Size: 1.72 KB

Versions: 3

Compression:

Stored size: 1.72 KB

Contents


module Sprout
  #
  # *NOTE:* The AsDoc task has not yet been built, please let us know[http://groups.google.com/group/projectsprouts] if you're interested in contributing!
  # http://livedocs.adobe.com/flex/201/html/wwhelp/wwhimpl/common/html/wwhelp.htm?context=LiveDocs_Book_Parts&file=asdoc_127_9.html#142061
  #
  # The AsDoc Task will provide Rake support for the asdoc documentation engine.
  # The main idea behind this task is that one would simply name it after
  # the documentation directory, and set an Sprout::MXMLCTask as a prerequisite.
  # Then AsDoc should grab all of the compiler settings from the MXMLCTask and 
  # generate the documentation as expected. Of course any parameters set directly
  # would override what is found from the compiler task.
  #
  # This configuration might look something like this:
  #
  #   # Create a remote library dependency on the corelib swc.
  #   library :corelib
  # 
  #   # Alias the compilation task with one that is easier to type
  #   # task :compile => 'SomeProject.swf'
  #
  #   # Create an MXMLCTask named for the output file that it creates. This task depends on the
  #   # corelib library and will automatically add the corelib.swc to it's library_path
  #   mxmlc 'bin/SomeProject.swf' => :corelib do |t|
  #     t.input                     = 'src/SomeProject.as'
  #     t.default_size              = '800 600'
  #     t.default_background_color  = "#FFFFFF"
  #   end
  #
  #   desc "Generate documentation"
  #   asdoc 'doc' => 'bin/SomeProject.swf'
  #
  # This would then generate documentation in the relative path, 'doc', but only if
  # The contents of the documentation directory werer older than the sources referenced by the compiler.
  #
  class AsDocTask < MXMLCTask
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
sprout-as3-bundle-0.1.34 lib/sprout/tasks/asdoc_task.rb
sprout-as3-bundle-0.1.27 lib/sprout/tasks/asdoc_task.rb
sprout-as3-bundle-0.1.32 lib/sprout/tasks/asdoc_task.rb