Class: Buildr::AS3::Compiler::AirCompc

Inherits:
Compc show all
Defined in:
lib/buildr/as3/compiler/aircompc.rb

Overview

AirCompc compiler:

compile.using(:aircompc)

Accepts the following options:

  • :warnings – Issue warnings when compiling. Defaults to “true”

  • :debug – Generates bytecode with debugging information. Set from the debug

environment variable/global option.

  • :flexsdk – Specify an FlexSDK Artifact of the type Buildr::AS3::Flex::FlexSDK

  • :apparat – Specify an Apparat Artifact of the type Buildr::AS3::Apparat::ApparatToolkit

(this is only necessary if you want to make use of the apparat-toolkit)

  • :other – Array of options passed to the compiler

(e.g. [‘-compiler.incremental=true’, ‘-static-link-runtime-shared-libraries=true’, ‘-optimize’])

Constant Summary

Constants inherited from FlexCompilerBase

FlexCompilerBase::COMPILE_OPTIONS

Instance Method Summary collapse

Methods inherited from FlexCompilerBase

#initialize, #needed?

Constructor Details

This class inherits a constructor from Buildr::AS3::Compiler::FlexCompilerBase

Instance Method Details

#compile(sources, target, dependencies) ⇒ Object

:nodoc:



45
46
47
48
# File 'lib/buildr/as3/compiler/aircompc.rb', line 45

def compile(sources, target, dependencies) #:nodoc:
  @air = true
  super
end