Class: Buildr::Project
- Inherits:
-
Object
- Object
- Buildr::Project
- Includes:
- AS3::Doc::AsDoc, AS3::IDE::FDT4::Tasks, AS3::Packaging, AS3::Toolkits::ApparatTasks
- Defined in:
- lib/buildr/as3/ide/fdt4.rb,
lib/buildr/as3/packaging.rb,
lib/buildr/as3/toolkits/apparat.rb,
lib/buildr/as3/doc.rb,
lib/buildr/as3/project.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
- (Object) get_as3_output(target, options)
27 28 29 30 31 32 |
# File 'lib/buildr/as3/project.rb', line 27 def get_as3_output( target, ) # return compile.options[:output] if compile.options.has_key? :output return "#{target}/#{File.basename([:main].to_s, File.extname([:main].to_s))}.swf" if compile.packaging == :swf return "#{target}/#{name.gsub(":", "-")}.swc" if compile.packaging == :swc fail("Could not guess output file for #{name}") end |