PageRenderTime 38ms CodeModel.GetById 14ms RepoModel.GetById 0ms app.codeStats 0ms

/run_first

https://bitbucket.org/20121022aprimo/app
Ruby | 21 lines | 15 code | 5 blank | 1 comment | 0 complexity | c669547f5fd1c607c666c40a505cde55 MD5 | raw file
Possible License(s): CC-BY-3.0
  1. #!/usr/bin/env ruby
  2. require_relative 'git_utils.rb'
  3. def install_utilities
  4. `gem install bundler`
  5. `bundle install`
  6. end
  7. def configure_remote
  8. run_git_command('remote rm jp')
  9. run_git_command('remote add jp http://bitbucket.org/20121022aprimo/app.git')
  10. end
  11. def create_first_branches
  12. %w[clean master starting_point].each{|branch| checkout(branch)}
  13. end
  14. install_utilities
  15. configure_remote
  16. create_first_branches