Sha256: 96eb56772cd5f8a5c31f9558e51d563a186c19b93ffd7ac6c95a40c226ffc0fc

Contents?: true

Size: 801 Bytes

Versions: 3

Compression:

Stored size: 801 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 :flexunit, :flexunit_flex
library :flexunit, :flexunit_uilistener

# Compile the test swf
mxmlc "<%= bin %>/<%= test_swf_name %>" do |t|
  t.input = "<%= src %>/<%= test_runner_name %>.mxml"
  t.library_path << "lib/flexunit/"  
  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

3 entries across 3 versions & 1 rubygems

Version Path
flexunit-0.0.9.pre lib/flexunit4/generators/templates/Flex4Rakefile.rb
flexunit-0.0.8.pre lib/flexunit4/generators/templates/Flex4Rakefile.rb
flexunit-0.0.7.pre lib/flexunit4/generators/templates/Flex4Rakefile.rb