lib/flashsdk/compc.rb in flashsdk-1.0.29.pre vs lib/flashsdk/compc.rb in flashsdk-1.0.33.pre
- old
+ new
@@ -7,11 +7,11 @@
#
# compc 'bin/SomeProject.swc' do |t|
# t.include_classes << 'SomeProject'
# t.source_path << 'src'
# end
- #
+ #
# desc 'Compile the SWC'
# task :swc => 'bin/SomeProject.swc'
#
class COMPC < CompilerBase
@@ -24,11 +24,11 @@
# t.directory = true
# t.include_sources = 'src'
# end
#
# @see Sprout::COMPC#include_sources
- #
+ #
add_param :directory, Boolean
##
# Specifies classes to include in the SWC file. You provide the class name (for example, MyClass) rather than the file name (for example, MyClass.as) to the file for this option. As a result, all classes specified with this option must be in the compiler's source path. You specify this by using the source-path compiler option.
#
@@ -81,12 +81,15 @@
# You'll need to be sure your source path and library path are both set up properly for this work.
#
add_param :include_sources, Paths
##
- # Not sure about this option, it was in the CLI help, but not documented on the Adobe site
+ # Defines the mapping between your namespaces and the manifest.xml file describing the classes in that namespace.
#
+ # compc "bin/SomeProject.swc" do |t|
+ # t.namespace = 'http://sprouts.org/ui sprouts-manifest.xml'
+ # end
add_param :namespace, String
##
# Main source Class to send compiler.
# If used, this should be the last item in the list
@@ -103,10 +106,10 @@
##
# The default pkg version
#
set :pkg_version, ">= #{FlashSDK::VERSION}"
-
+
##
# The default executable target.
#
set :executable, :compc
end