Sha256: bbb598cc23b3463b3f5ad69dc4c3b6a41c0416c36358a17ac60936e2c5b305e7

Contents?: true

Size: 555 Bytes

Versions: 4

Compression:

Stored size: 555 Bytes

Contents

module Buildr
  module Haxe
    module Compiler
      class HXXML < HaxeCompilerBase

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

        COMPILE_OPTIONS << :version

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

        def compiler_args
          [ "-xml #{@output}" ]
        end

      end
    end
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
buildr-hx-0.0.7.pre lib/buildr/hx/compiler/hxxml.rb
buildr-hx-0.0.6.pre lib/buildr/hx/compiler/hxxml.rb
buildr-hx-0.0.5.pre lib/buildr/hx/compiler/hxxml.rb
buildr-hx-0.0.4.pre lib/buildr/hx/compiler/hxxml.rb