Sha256: b8807ce9dfba4f3de0ca8e37725a66143aef0db587d30a49191d91c5ec35d8eb

Contents?: true

Size: 673 Bytes

Versions: 11

Compression:

Stored size: 673 Bytes

Contents

module Buildr
  module Haxe
    module Compiler
      class HXSWF < HaxeCompilerBase

        specify :language => :haxe,
                :sources => :hx, :source_ext => :hx,
                :target_ext => "swf",
                :packaging => :swf

        COMPILE_OPTIONS << :swfversion << :swfheader << :flashstrict << :apparat

        def compiler_args
          args = []
          args << "-swf #{@output}"
          args << "-swf-version #{options[:swfversion]}"
          args << "-swf-header #{options[:swfheader]}" unless options[:swfheader].nil?
          args << "--flash-strict" if options[:flashstrict]
          args
        end

      end
    end
  end
end

Version data entries

11 entries across 11 versions & 1 rubygems

Version Path
buildr-hx-0.0.27.pre lib/buildr/hx/compiler/hxswf.rb
buildr-hx-0.0.26.pre lib/buildr/hx/compiler/hxswf.rb
buildr-hx-0.0.25.pre lib/buildr/hx/compiler/hxswf.rb
buildr-hx-0.0.24.pre lib/buildr/hx/compiler/hxswf.rb
buildr-hx-0.0.23.pre lib/buildr/hx/compiler/hxswf.rb
buildr-hx-0.0.22.pre lib/buildr/hx/compiler/hxswf.rb
buildr-hx-0.0.21.pre lib/buildr/hx/compiler/hxswf.rb
buildr-hx-0.0.20.pre lib/buildr/hx/compiler/hxswf.rb
buildr-hx-0.0.19.pre lib/buildr/hx/compiler/hxswf.rb
buildr-hx-0.0.18.pre lib/buildr/hx/compiler/hxswf.rb
buildr-hx-0.0.16.pre lib/buildr/hx/compiler/hxswf.rb