lib/flexunit4/generators/templates/Rakefile in flexunit-0.0.6.pre vs lib/flexunit4/generators/templates/Rakefile in flexunit-0.0.7.pre
- old
+ new
@@ -36,15 +36,18 @@
flashplayer :run => "<%= bin %>/<%= debug_swf_name %>"
##############################
# Test
-library :flexunit_as3
+library :flexunit, :flexunit_as3
+library :flexunit, :flexunit_uilistener
# Compile the test swf
-mxmlc "<%= bin %>/<%= test_swf_name %>" => :flexunit_as3 do |t|
+mxmlc "<%= bin %>/<%= test_swf_name %>" do |t|
t.input = "<%= src %>/<%= test_runner_name %>.as"
+ t.library_path << "lib/flexunit/"
t.source_path << 'test'
+ t.default_size = "100,100"
t.debug = true
end
desc "Compile and run the test swf"
flashplayer :test => "<%= bin %>/<%= test_swf_name %>"