Sha256: 34306690c0a9a5a9845da046b31977e2957db1aab7731d2b2be8953e652e2bf7

Contents?: true

Size: 718 Bytes

Versions: 33

Compression:

Stored size: 718 Bytes

Contents

require 'rubygems'
require 'bundler'
Bundler.require

##############################
# Debug

# Compile the debug swf
mxmlc "<%= bin %>/<%= debug_swf_name %>" do |t|
  t.input = "<%= src %>/<%= class_name %>.mxml"
  t.debug = true
end

desc "Compile and run the debug swf"
flashplayer :debug => "<%= bin %>/<%= debug_swf_name %>"

##############################
# Test

library :asunit4

# Compile the test swf
mxmlc "<%= bin %>/<%= test_swf_name %>" => :asunit4 do |t|
  t.input = "<%= src %>/<%= test_runner_name %>.mxml"
  t.source_path << "test"
  t.default_size = "900,550"
  t.debug = true
end

desc "Compile and run the test swf"
flashplayer :test => "<%= bin %>/<%= test_swf_name %>"

task :default => :debug

Version data entries

33 entries across 33 versions & 3 rubygems

Version Path
flashsdk_sqe-0.0.7 lib/flashsdk/generators/templates/Flex4Rakefile.rb
flashsdk_sqe-0.0.6 lib/flashsdk/generators/templates/Flex4Rakefile.rb
flashsdk_sqe-0.0.4 lib/flashsdk/generators/templates/Flex4Rakefile.rb
flashsdk_sqe-0.0.3 lib/flashsdk/generators/templates/Flex4Rakefile.rb
flashsdk_sqe-0.0.2 lib/flashsdk/generators/templates/Flex4Rakefile.rb
flashsdk_sqe-0.0.1 lib/flashsdk/generators/templates/Flex4Rakefile.rb
flashsdk-1.1.36.pre lib/flashsdk/generators/templates/Flex4Rakefile.rb
flashsdk-1.0.34.pre lib/flashsdk/generators/templates/Flex4Rakefile.rb
flashsdk-1.0.33.pre lib/flashsdk/generators/templates/Flex4Rakefile.rb
flashsdk-1.0.29.pre lib/flashsdk/generators/templates/Flex4Rakefile.rb
flashsdk-1.0.28.pre lib/flashsdk/generators/templates/Flex4Rakefile.rb
flashsdk-1.0.27.pre lib/flashsdk/generators/templates/Flex4Rakefile.rb
flashsdk-1.0.26.pre lib/flashsdk/generators/templates/Flex4Rakefile.rb