lib/tasks/hamtasc.rb in asproject-0.1.42 vs lib/tasks/hamtasc.rb in asproject-0.1.43

- old
+ new

@@ -10,10 +10,11 @@ :rb_exclude_path def initialize(name=:compile, do_not_define=false) @pack_path = [] @exclude_packages = [] + @rb_exclude_swf = [] @rb_exclude_path = [] super(name, true) do |s| s.compiler_version = '1.12.rb.20' s.win_url = "http://asproject.googlecode.com/files/hamtasc-#{compiler_version}.zip" s.win_extracted_file = "/hamtasc-#{compiler_version}/hamtasc.exe" @@ -52,10 +53,11 @@ def option_list result = super input = result.pop if(input) result << "-rb_entry" << rb_entry if rb_entry - result << "-rb_exclude_swf" << clean_path(rb_exclude_swf) if rb_exclude_swf +# result << "-rb_exclude_swf" << clean_path(rb_exclude_swf) if rb_exclude_swf + result << "-rb_exclude_swf " << @rb_exclude_swf.join(" -rb_exclude_swf ") if @rb_exclude_swf.size > 0 result << "-rb_exclude_package " << @exclude_packages.join(" -rb_exclude_package ") if @exclude_packages.size > 0 result << "-pack " + @cleaned_pack_path.join(" -pack ") if pack_path.size > 0 result << input if input return result end \ No newline at end of file