Sha256: fc5f41787eb1ce69dd6bec57c126314914f74d05abff89a7685974aa7995a74c

Contents?: true

Size: 773 Bytes

Versions: 11

Compression:

Stored size: 773 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.library_path << "lib/asunit4/AsUnit-4.2.2.pre.swc"
  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

11 entries across 11 versions & 1 rubygems

Version Path
flashsdk-1.0.25.pre lib/flashsdk/generators/templates/Flex4Rakefile.rb
flashsdk-1.0.23.pre lib/flashsdk/generators/templates/Flex4Rakefile.rb
flashsdk-1.0.22.pre lib/flashsdk/generators/templates/Flex4Rakefile.rb
flashsdk-1.0.21.pre lib/flashsdk/generators/templates/Flex4Rakefile.rb
flashsdk-1.0.20.pre lib/flashsdk/generators/templates/Flex4Rakefile.rb
flashsdk-1.0.18.pre lib/flashsdk/generators/templates/Flex4Rakefile.rb
flashsdk-1.0.17.pre lib/flashsdk/generators/templates/Flex4Rakefile.rb
flashsdk-1.0.15.pre lib/flashsdk/generators/templates/Flex4Rakefile.rb
flashsdk-1.0.14.pre lib/flashsdk/generators/templates/Flex4Rakefile.rb
flashsdk-1.0.13.pre lib/flashsdk/generators/templates/Flex4Rakefile.rb
flashsdk-1.0.12.pre lib/flashsdk/generators/templates/Flex4Rakefile.rb