Class: Braid::Commands::Setup
- Inherits:
-
Braid::Command
- Object
- Braid::Command
- Braid::Commands::Setup
- Defined in:
- lib/braid/commands/setup.rb
Instance Method Summary collapse
Methods inherited from Braid::Command
Methods included from Operations::Helpers
#clean_svn_revision, #determine_target_commit, #display_revision, #find_git_revision, #validate_revision_option, #validate_svn_revision
Methods included from Operations::Mirror
#add_config_file, #check_merge_status, #create_work_branch, #fetch_remote, #find_remote, #get_current_branch, #get_work_head
Instance Method Details
#run(mirror) ⇒ Object
4 5 6 7 8 |
# File 'lib/braid/commands/setup.rb', line 4 def run(mirror) in_work_branch do mirror ? setup_one(mirror) : setup_all end end |