Sha256: e36c61a51d0bd34755169f5cb7fd64c677c0b1dfb7991660d2c79b6060eca3ad

Contents?: true

Size: 185 Bytes

Versions: 2

Compression:

Stored size: 185 Bytes

Contents

module GitHelpers
  def create_local_repo(working_dir)
    git_dir = "#{working_dir}/.git"
    FileUtils.mkdir_p(git_dir)
    Dir.chdir(git_dir) { FileUtils.touch('config') }
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
github_bitbucket_deployer-1.0.1 spec/support/git_helpers.rb
github_bitbucket_deployer-1.0.0 spec/support/git_helpers.rb