Sha256: 73870dcf109196ed98d3f373a3d4e9c151e9d98678e596fadbf7a3bb55b510cd

Contents?: true

Size: 1.58 KB

Versions: 53

Compression:

Stored size: 1.58 KB

Contents

require File.expand_path("../builder/version", __FILE__)

module Vx
  module Builder
    autoload :Source,             File.expand_path("../builder/source",              __FILE__)
    autoload :Task,               File.expand_path("../builder/task",                __FILE__)
    autoload :Configuration,      File.expand_path("../builder/configuration",       __FILE__)
    autoload :BuildConfiguration, File.expand_path("../builder/build_configuration", __FILE__)
    autoload :MatrixBuilder,      File.expand_path("../builder/matrix_builder",      __FILE__)
    autoload :DeployBuilder,      File.expand_path("../builder/deploy_builder",      __FILE__)
    autoload :ScriptBuilder,      File.expand_path("../builder/script_builder",      __FILE__)

    module Helper
      autoload :Config,         File.expand_path("../builder/helper/config",           __FILE__)
      autoload :TraceShCommand, File.expand_path("../builder/helper/trace_sh_command", __FILE__)
      autoload :VxvmInstall,    File.expand_path("../builder/helper/vxvm_install",     __FILE__)
    end

    class MissingKeys < Exception ; end

    extend self

    def configure
      yield config if block_given?
      config
    end

    def config
      @config ||= Configuration.new
    end

    def reset_config!
      @config = nil
    end

    def matrix(build_configuration)
      MatrixBuilder.new(build_configuration)
    end

    def deploy(matrix_builder, options = {})
      DeployBuilder.new(matrix_builder, options)
    end

    def script(task, build_configuration)
      ScriptBuilder.new task, build_configuration
    end

  end
end

Version data entries

53 entries across 53 versions & 1 rubygems

Version Path
vx-builder-0.5.54 lib/vx/builder.rb
vx-builder-0.5.53 lib/vx/builder.rb
vx-builder-0.5.52 lib/vx/builder.rb
vx-builder-0.5.51 lib/vx/builder.rb
vx-builder-0.5.50 lib/vx/builder.rb
vx-builder-0.5.49 lib/vx/builder.rb
vx-builder-0.5.48 lib/vx/builder.rb
vx-builder-0.5.47 lib/vx/builder.rb
vx-builder-0.5.46 lib/vx/builder.rb
vx-builder-0.5.45 lib/vx/builder.rb
vx-builder-0.5.44 lib/vx/builder.rb
vx-builder-0.5.43 lib/vx/builder.rb
vx-builder-0.5.42 lib/vx/builder.rb
vx-builder-0.5.41 lib/vx/builder.rb
vx-builder-0.5.38 lib/vx/builder.rb
vx-builder-0.5.37 lib/vx/builder.rb
vx-builder-0.5.36 lib/vx/builder.rb
vx-builder-0.5.35 lib/vx/builder.rb
vx-builder-0.5.34 lib/vx/builder.rb
vx-builder-0.5.33 lib/vx/builder.rb