Sha256: 96dfda1bda554583ec30e7a720a885e026fbbf9dbcb9c0cd090e10b8e462388e

Contents?: true

Size: 1.09 KB

Versions: 14

Compression:

Stored size: 1.09 KB

Contents

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

module Vx
  module Builder
    autoload :Source,             File.expand_path("../builder/source",              __FILE__)
    autoload :Script,             File.expand_path("../builder/script",              __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 :Matrix,             File.expand_path("../builder/matrix",              __FILE__)

    module Helper
      autoload :Config, File.expand_path("../builder/helper/config", __FILE__)
      autoload :TraceShCommand, File.expand_path("../builder/helper/trace_sh_command", __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

  end
end

Version data entries

14 entries across 14 versions & 1 rubygems

Version Path
vx-builder-0.2.2 lib/vx/builder.rb
vx-builder-0.2.1 lib/vx/builder.rb
vx-builder-0.2.0 lib/vx/builder.rb
vx-builder-0.1.8 lib/vx/builder.rb
vx-builder-0.1.7 lib/vx/builder.rb
vx-builder-0.1.6 lib/vx/builder.rb
vx-builder-0.1.5 lib/vx/builder.rb
vx-builder-0.1.4 lib/vx/builder.rb
vx-builder-0.1.3 lib/vx/builder.rb
vx-builder-0.1.2 lib/vx/builder.rb
vx-builder-0.1.1 lib/vx/builder.rb
vx-builder-0.1.0 lib/vx/builder.rb
vx-builder-0.0.29 lib/vx/builder.rb
vx-builder-0.0.28 lib/vx/builder.rb