Sha256: 5f71c207e3905b20532e44b8f0629069e95071c2d74e425c35e01188b872a5be
Contents?: true
Size: 526 Bytes
Versions: 3
Compression:
Stored size: 526 Bytes
Contents
$:.unshift File.dirname(__FILE__) require 'svn_driver' module BuildMaster class SvnAdminDriver def initialize(path) @path = path @cotta = Cotta.new end def create repository = "file:///#{@path}" @cotta.shell("svnadmin create #{@path}") @cotta.shell("svn mkdir #{repository}/trunk -m \"creating trunk directory\"") @cotta.shell("svn mkdir #{repository}/tags -m \"creating tags directory\"") @cotta.shell("svn mkdir #{repository}/branches -m \"creating branches directory\"") end end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
BuildMaster-1.0.6 | lib/buildmaster/project/svn_admin_driver.rb |
BuildMaster-1.0.9 | lib/buildmaster/project/svn_admin_driver.rb |
BuildMaster-1.1.9 | lib/buildmaster/project/svn_admin_driver.rb |