Sha256: b1574741fa54b352bc0fa8d22485db1e7cb9f5c995ddbf881b8c23f02127f54f

Contents?: true

Size: 551 Bytes

Versions: 6

Compression:

Stored size: 551 Bytes

Contents

module Buildr
  module Haxe
    module Compiler
      class HXJS < HaxeCompilerBase

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

        COMPILE_OPTIONS << :version

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

        def compiler_args
          [ "-js #{@output}" ]
        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/hxjs.rb
buildr-hx-0.0.6.pre lib/buildr/hx/compiler/hxjs.rb
buildr-hx-0.0.5.pre lib/buildr/hx/compiler/hxjs.rb
buildr-hx-0.0.4.pre lib/buildr/hx/compiler/hxjs.rb
buildr-hx-0.0.3.pre lib/buildr/hx/compiler/hxjs.rb
buildr-hx-0.0.2.pre lib/buildr/hx/compiler/hxjs.rb