Sha256: bc226f04434302d8da080e2800defa1908a7aeaa4db06cd2f97fe7347ed2953c

Contents?: true

Size: 283 Bytes

Versions: 28

Compression:

Stored size: 283 Bytes

Contents

Given /^the project uses "git" scm$/ do
  repo = "git://some.host/drnic/ruby.git"
  in_project_folder do
    unless File.exist?(".git")
      %x[ git init ]
      %x[ git add . ]
      %x[ git commit -m "initial commit" ]
      %x[ git remote add origin #{repo} ]
    end
  end
end

Version data entries

28 entries across 28 versions & 4 rubygems

Version Path
hudson-0.3.0.beta.12 features/step_definitions/scm_steps.rb
hudson-0.3.0.beta.11 features/step_definitions/scm_steps.rb
hudson-0.3.0.beta.10 features/step_definitions/scm_steps.rb
hudson-0.3.0.beta.9 features/step_definitions/scm_steps.rb
hudson-0.3.0.beta.8 features/step_definitions/scm_steps.rb
hudson-0.3.0.beta.7 features/step_definitions/scm_steps.rb
hudson-0.3.0.beta.6 features/step_definitions/scm_steps.rb
hudson-0.3.0.beta.5 features/step_definitions/scm_steps.rb