Class: Buildr::Project
- Inherits:
-
Object
- Object
- Buildr::Project
- Defined in:
- lib/buildr/as3/ide/fdt4.rb,
lib/buildr/as3/packaging.rb,
lib/buildr/as3/toolkits/apparat.rb,
lib/buildr/as3/project.rb,
lib/buildr/as3/doc.rb
Instance Method Summary collapse
Methods included from AS3::Toolkits::ApparatTasks
#apparat_reducer, #apparat_tdsi
Methods included from AS3::Packaging
#package_air, #package_airi, #package_swc, #package_swf
Methods included from AS3::IDE::FDT4::Tasks
#create_fdt4_dependency_symlink, #get_eclipse_relative_path, #get_fdt4_classpath_type
Instance Method Details
#get_as3_output(is_test = false) ⇒ Object
27 28 29 30 31 32 33 34 35 |
# File 'lib/buildr/as3/project.rb', line 27 def get_as3_output( is_test = false ) compile_task = is_test ? test.compile : compile target = compile_task.target = compile_task. return compile_task.[:output] if compile_task..has_key? :output return "#{target}/#{File.basename([:main].to_s, File.extname([:main].to_s))}.swf" if compile_task.packaging == :swf return "#{target}/#{name.gsub(":", "-")}.swc" if compile_task.packaging == :swc fail("Could not guess output file for #{name}") end |