Sha256: 2753588ffc5f94192947d0f4892743922b9d12036c4b629d86e0a345bd31dcde

Contents?: true

Size: 595 Bytes

Versions: 6

Compression:

Stored size: 595 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 << :version

        def compile(sources, target, dependencies)
          @output = @project.get_hx_output(is_test(sources,target,dependencies))
          super
        end

        def compiler_args
          [ "-swf #{@output}",
            "-swf-version #{options[:version]}" ]
        end

      end
    end
  end
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
buildr-hx-0.0.7.pre lib/buildr/hx/compiler/hxswf.rb
buildr-hx-0.0.6.pre lib/buildr/hx/compiler/hxswf.rb
buildr-hx-0.0.5.pre lib/buildr/hx/compiler/hxswf.rb
buildr-hx-0.0.4.pre lib/buildr/hx/compiler/hxswf.rb
buildr-hx-0.0.3.pre lib/buildr/hx/compiler/hxswf.rb
buildr-hx-0.0.2.pre lib/buildr/hx/compiler/hxswf.rb