Class: Space::App::Command::Local

Inherits:
Space::App::Command show all
Defined in:
lib/space/app/command/development.rb

Instance Attribute Summary

Attributes inherited from Space::App::Command

#args, #project, #scope

Instance Method Summary collapse

Methods inherited from Space::App::Command

#initialize

Constructor Details

This class inherits a constructor from Space::App::Command

Instance Method Details

#runObject



5
6
7
8
9
10
11
12
13
# File 'lib/space/app/command/development.rb', line 5

def run
  Shell::Watcher.suspend do
    repos.each do |repo|
      system "bundle config --global local.#{repo.name} #{repo.path}"
    end
    confirm
  end
  project.bundler.refresh
end