/run_first
https://bitbucket.org/20121022aprimo/app · Ruby · 21 lines · 15 code · 5 blank · 1 comment · 0 complexity · c669547f5fd1c607c666c40a505cde55 MD5 · raw file
- #!/usr/bin/env ruby
- require_relative 'git_utils.rb'
- def install_utilities
- `gem install bundler`
- `bundle install`
- end
- def configure_remote
- run_git_command('remote rm jp')
- run_git_command('remote add jp http://bitbucket.org/20121022aprimo/app.git')
- end
- def create_first_branches
- %w[clean master starting_point].each{|branch| checkout(branch)}
- end
- install_utilities
- configure_remote
- create_first_branches