templates/asproject/as2/project/rakefile.rb in asproject-0.1.41 vs templates/asproject/as2/project/rakefile.rb in asproject-0.1.42
- old
+ new
@@ -36,27 +36,27 @@
############################################
# Compile your Application using HAMTASC
task :compile_main => [:compile_skin]
-AsProject::HAMTASC.new(:compile_main) do |t|
+AsProject::MTASC.new(:compile_main) do |t|
t.input = '<%= project_name %>'
- t.rb_entry = '<%= project_name %>.main'
+ t.main = true
t.version = 8
t.frame = 2
t.input_swf = 'bin/<%= project_name %>Skin.swf'
t.output = 'bin/<%= project_name %>.swf'
t.class_path << 'src'
end
############################################
# Compile your Application using HAMTASC
-AsProject::HAMTASC.new(:compile_tests) do |t|
+AsProject::MTASC.new(:compile_tests) do |t|
t.input = '<%= project_name %>Runner'
t.version = 8
t.frame = 2
- t.rb_entry = '<%= project_name %>Runner.main'
+ t.main = true
t.input_swf = 'bin/<%= project_name %>Skin.swf'
t.output = 'bin/<%= project_name %>Runner.swf'
t.class_path << 'src'
t.class_path << 'test'
t.class_path << 'lib/asunit'