Sha256: e1444ac780282ea21bf22531553028d7edc01858433dbd1e84e00205f4a01336

Contents?: true

Size: 1.26 KB

Versions: 6

Compression:

Stored size: 1.26 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
  t.target_player = "10.2"
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

6 entries across 6 versions & 1 rubygems

Version Path
flashsdk_sqe-0.0.14 lib/flashsdk/generators/templates/rakefileFlashsdk.rb
flashsdk_sqe-0.0.13 lib/flashsdk/generators/templates/rakefileFlashsdk.rb
flashsdk_sqe-0.0.12 lib/flashsdk/generators/templates/rakefileFlashsdk.rb
flashsdk_sqe-0.0.11 lib/flashsdk/generators/templates/rakefileFlashsdk.rb
flashsdk_sqe-0.0.10 lib/flashsdk/generators/templates/rakefileFlashsdk.rb
flashsdk_sqe-0.0.9 lib/flashsdk/generators/templates/rakefileFlashsdk.rb