lib/flashsdk/mxmlc.rb in flashsdk-1.0.5.pre vs lib/flashsdk/mxmlc.rb in flashsdk-1.0.12.pre
- old
+ new
@@ -19,13 +19,13 @@
# # Alias the compilation task with one that is easier to type
# task :compile => 'SomeProject.swf'
#
# # Create an MXMLC 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 'SomeProject.swf' => :corelib do |t|
- # t.input = 'SomeProject.as'
- # t.default_size = '800 600'
+ # mxmlc 'bin/SomeProject.swf' => :corelib do |t|
+ # t.input = 'src/SomeProject.as'
+ # t.default_size = '800,600'
# t.default_background_color = "#FFFFFF"
# t.library_path << 'lib/SomeLibrary.swc'
# t.source_path << 'lib/otherlib'
# end
#
@@ -43,20 +43,23 @@
add_param :input, File, { :required => true, :hidden_name => true }
set :default_prefix, '-'
##
- # The default gem name is sprout-flex3sdk
+ # The the Ruby file that will load the expected
+ # Sprout::Specification.
#
+ # Default value is 'flex4'
+ #
set :pkg_name, 'flex4'
##
- # The default gem version
+ # The default pkg version
#
- set :pkg_version, ">= #{VERSION}"
+ set :pkg_version, ">= #{FlashSDK::VERSION}"
##
- # The default executable target
+ # The default executable target.
#
set :executable, :mxmlc
end
end