Sha256: 43b0ac7bc5e92beb1c78f8d9eb2f948e8dd45cf3b900a3a538b22b3f0785efcc
Contents?: true
Size: 595 Bytes
Versions: 1
Compression:
Stored size: 595 Bytes
Contents
require 'rgitflow/printing' require 'git' module RGitFlow class Install include RGitFlow::Printing class << self attr_accessor :instance def install_tasks(opts = {}) new(opts[:dir]).install end end attr_reader :dir, :git def initialize(dir = nil) @dir = dir || Pathname.pwd @git = Git.open @dir end def install require 'rgitflow/tasks/scm/status' RGitFlow::Tasks::SCM::Status.new @git require 'rgitflow/tasks/feature/tasks' RGitFlow::Tasks::Feature.install_tasks({:git => @git}) end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
rgitflow-0.1.0.pre.alpha.pre.10 | lib/rgitflow/install.rb |