Sha256: c75eb55065781b179802a52c8fe495045a52bd5fb2bfde839e614474e17a18e4

Contents?: true

Size: 481 Bytes

Versions: 4

Compression:

Stored size: 481 Bytes

Contents

module Buildr
  module Haxe
    module Compiler
      class HXPHP < HaxeCompilerBase

        specify :language => :haxe,
                :sources => :hx, :source_ext => :hx

        COMPILE_OPTIONS << :version

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

        def compiler_args
          [ "-php #{@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/hxphp.rb
buildr-hx-0.0.6.pre lib/buildr/hx/compiler/hxphp.rb
buildr-hx-0.0.5.pre lib/buildr/hx/compiler/hxphp.rb
buildr-hx-0.0.4.pre lib/buildr/hx/compiler/hxphp.rb