Sha256: 1dc7764dd3a676a460a597eb683e7b14437b66a950e0821d331b8c1b353d767e
Contents?: true
Size: 1.47 KB
Versions: 16
Compression:
Stored size: 1.47 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__) 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
16 entries across 16 versions & 1 rubygems