templates/asproject/as2/project/rakefile.rb in asproject-0.1.44 vs templates/asproject/as2/project/rakefile.rb in asproject-0.1.60
- old
+ new
@@ -41,26 +41,26 @@
AsProject::MTASC.new(:compile_main) do |t|
t.input = '<%= project_name %>'
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'
+ t.swf = 'bin/<%= project_name %>Skin.swf'
+ t.out = 'bin/<%= project_name %>.swf'
+ t.cp << 'src'
end
############################################
# Compile your Application using HAMTASC
AsProject::MTASC.new(:compile_tests) do |t|
t.input = '<%= project_name %>Runner'
t.version = 8
t.frame = 2
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'
+ t.swf = 'bin/<%= project_name %>Skin.swf'
+ t.out = 'bin/<%= project_name %>Runner.swf'
+ t.cp << 'src'
+ t.cp << 'test'
+ t.cp << 'lib/asunit'
end
############################################