Sha256: 6f8da1ededd8abc4b65f6e7cb313d623a4ae427076f02222651ab81d92a41eeb

Contents?: true

Size: 879 Bytes

Versions: 14

Compression:

Stored size: 879 Bytes

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__)

    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.0.27 lib/vx/builder.rb
vx-builder-0.0.26 lib/vx/builder.rb
vx-builder-0.0.25 lib/vx/builder.rb
vx-builder-0.0.24 lib/vx/builder.rb
vx-builder-0.0.23 lib/vx/builder.rb
vx-builder-0.0.22 lib/vx/builder.rb
vx-builder-0.0.21 lib/vx/builder.rb
vx-builder-0.0.20 lib/vx/builder.rb
vx-builder-0.0.19 lib/vx/builder.rb
vx-builder-0.0.18 lib/vx/builder.rb
vx-builder-0.0.16 lib/vx/builder.rb
vx-builder-0.0.15 lib/vx/builder.rb
vx-builder-0.0.14 lib/vx/builder.rb
vx-builder-0.0.13 lib/vx/builder.rb