templates/asproject/as2/project/rakefile.rb in asproject-0.1.92 vs templates/asproject/as2/project/rakefile.rb in asproject-0.1.118

- old
+ new

@@ -1,7 +1,8 @@ require 'rubygems' require 'asproject' +require 'tasks/asunit' # NOTE: The asclass tools will load this file # and use these constants... SRC_DIR = 'src' TEST_DIR = 'test' @@ -24,11 +25,11 @@ end ############################################ # Launch the Test Suites using Flash Player 8 -task :test => [:compile_tests] +task :test => [:asunit25, :compile_tests] AsProject::FlashPlayer.new(:test) do |t| t.version = 8 t.swf = BIN_DIR + '/<%= project_name %>Runner.swf' end @@ -69,9 +70,9 @@ t.main = true t.swf = BIN_DIR + '/<%= project_name %>Skin.swf' t.out = BIN_DIR + '/<%= project_name %>Runner.swf' t.cp << SRC_DIR t.cp << TEST_DIR - t.cp << LIB_DIR + '/asunit' + t.cp << LIB_DIR + '/asunit25' end ############################################