Permalink
Browse files

Adding documenation for the namespace option

  • Loading branch information...
1 parent aac08ac commit 250392cd34aa204ce7ba1a3c8633af73cec8b814 @simongregory simongregory committed Sep 30, 2011
Showing with 7 additions and 4 deletions.
  1. +7 −4 lib/flashsdk/compc.rb
View
@@ -9,7 +9,7 @@ module FlashSDK
# t.include_classes << 'SomeProject'
# t.source_path << 'src'
# end
- #
+ #
# desc 'Compile the SWC'
# task :swc => 'bin/SomeProject.swc'
#
@@ -26,7 +26,7 @@ class COMPC < CompilerBase
# end
#
# @see Sprout::COMPC#include_sources
- #
+ #
add_param :directory, Boolean
##
@@ -83,8 +83,11 @@ class COMPC < CompilerBase
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
##
@@ -105,7 +108,7 @@ class COMPC < CompilerBase
# The default pkg version
#
set :pkg_version, ">= #{FlashSDK::VERSION}"
-
+
##
# The default executable target.
#

0 comments on commit 250392c

Please sign in to comment.