Sha256: b67c3e608db9712cc2e07c8d2e6eb67e3210833014f153ce7417f6ac7898cabd
Contents?: true
Size: 1.24 KB
Versions: 4
Compression:
Stored size: 1.24 KB
Contents
require 'rubygems' require 'bundler' require 'bundler/setup' require 'rake/clean' require 'flashsdk' ## # Set USE_FCSH to true in order to use FCSH for all compile tasks. # # You can also set this value by calling the :fcsh task # manually like: # # rake fcsh run # # These values can also be sent from the command line like: # # rake run FCSH_PKG_NAME=flex3 # # ENV['USE_FCSH'] = true # ENV['FCSH_PKG_NAME'] = 'flex4' # ENV['FCSH_PKG_VERSION'] = '1.0.14.pre' # ENV['FCSH_PORT'] = 12321 ############################## # Test # Compile the test swf mxmlc "<%= bin %>/<%= test_swf_name %>" do |t| t.input = "<%= src %>/<%= test_runner_name %>.as" t.static_link_runtime_shared_libraries = true t.source_path << 'test' << 'vendor' << 'lib' << 'assets' t.library_path << 'swc' t.show_actionscript_warnings=false t.show_deprecation_warnings=false t.debug = true end desc "Compile and run the test swf" flashplayer :test => "<%= bin %>/<%= test_swf_name %>" ############################## # DOC desc "Generate documentation at <%= doc %>/" asdoc '<%= doc %>' do |t| t.doc_sources << "<%= src %>" t.exclude_sources << "<%= src %>/<%= test_runner_name %>.as" end ############################## # DEFAULT task :default => :run
Version data entries
4 entries across 4 versions & 1 rubygems