lib/sprout/tasks/compc_documentation.rb in sprout-as3-bundle-1.0.24 vs lib/sprout/tasks/compc_documentation.rb in sprout-as3-bundle-1.0.29

- old
+ new

@@ -115,13 +115,15 @@ # This is an advanced option. def default_css_url=(url) @default_css_url = url end +# This parameter is normally called 'define' but thanks to scoping issues with Sprouts and Rake, we needed to rename it and chose: 'define_conditional'. +# # Define a global AS3 conditional compilation definition, e.g. -define=CONFIG::debugging,true or -define+=CONFIG::debugging,true (to append to existing definitions in flex-config.xml) (advanced, repeatable) -def define=(string) - @define = string +def define_conditional=(strings) + @define_conditional = strings end # Sets metadata in the resulting SWF file. For more information, see Adding metadata to SWF files (http://livedocs.adobe.com/flex/2/docs/00001502.html#145380). def description=(string) @description = string @@ -243,9 +245,15 @@ # Links one or more classes to the resulting application SWF file, whether or not those classes are required at compile time. # # To link an entire SWC file rather than individual classes, use the include-libraries option. def includes=(symbols) @includes = symbols +end + +# Define one or more directory paths for include processing. For each path that is provided, all .as and .mxml files found forward of that path will +# be included in the SWF regardless of whether they are imported or not. +def include_path=(paths) + @include_path = paths end # Enables incremental compilation. For more information, see About incremental compilation (http://livedocs.adobe.com/flex/2/docs/00001506.html#153980). # # This option is true by default for the Flex Builder application compiler. For the command-line compiler, the default is false. The web-tier compiler does not support incremental compilation.