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
h4oflashsdk-1.0.13 lib/flashsdk/generators/templates/Flex4Rakefile.rb
h4oflashsdk-1.0.12 lib/flashsdk/generators/templates/Flex4Rakefile.rb
h4oflashsdk-1.0.11 lib/flashsdk/generators/templates/Flex4Rakefile.rb
h4oflashsdk-1.0.10 lib/flashsdk/generators/templates/Flex4Rakefile.rb
h4oflashsdk-1.0.9 lib/flashsdk/generators/templates/Flex4Rakefile.rb
h4oflashsdk-1.0.8 lib/flashsdk/generators/templates/Flex4Rakefile.rb
h4oflashsdk-1.0.7 lib/flashsdk/generators/templates/Flex4Rakefile.rb
h4oflashsdk-1.0.6 lib/flashsdk/generators/templates/Flex4Rakefile.rb
h4oflashsdk-1.0.5 lib/flashsdk/generators/templates/Flex4Rakefile.rb
h4oflashsdk-1.0.4 lib/flashsdk/generators/templates/Flex4Rakefile.rb
h4oflashsdk-1.0.3 lib/flashsdk/generators/templates/Flex4Rakefile.rb
h4oflashsdk-1.0.2 lib/flashsdk/generators/templates/Flex4Rakefile.rb
h4oflashsdk-1.0.1 lib/flashsdk/generators/templates/Flex4Rakefile.rb
h4oflashsdk-1.0.0 lib/flashsdk/generators/templates/Flex4Rakefile.rb
flashsdk_sqe-0.0.14 lib/flashsdk/generators/templates/Flex4Rakefile.rb
flashsdk_sqe-0.0.13 lib/flashsdk/generators/templates/Flex4Rakefile.rb
flashsdk_sqe-0.0.12 lib/flashsdk/generators/templates/Flex4Rakefile.rb
flashsdk_sqe-0.0.11 lib/flashsdk/generators/templates/Flex4Rakefile.rb
flashsdk_sqe-0.0.10 lib/flashsdk/generators/templates/Flex4Rakefile.rb
flashsdk_sqe-0.0.9 lib/flashsdk/generators/templates/Flex4Rakefile.rb