Sha256: 0a4e215cff09a62d9246de01108ee6af196466407213a50541ed8dd0c2ec71e2
Contents?: true
Size: 1.31 KB
Versions: 2
Compression:
Stored size: 1.31 KB
Contents
module Space class App class Command class Local < Command 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 end class Remote < Command def run Shell::Watcher.suspend do repos.each do |repo| system "bundle config --delete local.#{repo.name}" end confirm end project.bundler.refresh end end # class Install < Command # def run # in_scope do |repo| # repo.execute 'bundle install' # repo.refresh # end # end # end # class Update < Command # def run # in_scope do |repo| # repo.execute 'bundle update' # repo.execute 'git commit -am "bump dependencies"' # repo.refresh # end # end # end # class Checkout < Command # def run # # check if branch exists, git co (-b) # end # end # class PullDeps < Command # def run # # pull all dependencies # end # end end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
space-0.0.5 | lib/space/app/command/development.rb |
space-0.0.4 | lib/space/app/command/development.rb |