Skip to content

Instantly share code, notes, and snippets.

@camhine
Created August 13, 2013 05:19
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save camhine/6218112 to your computer and use it in GitHub Desktop.
Save camhine/6218112 to your computer and use it in GitHub Desktop.
Run this every morning so that your services have the latest dozen or so updates to pact.
#!/usr/bin/env ruby
REA_DIR = '~/projects/rea'
SERVICES = ['condor', 'contract-proposal-service', 'pricing-service']
SERVICES.each do |service|
Dir.chdir(File.expand_path(service, REA_DIR)) do
system "git pull --rebase"
system "bundle"
end
end
@camhine
Copy link
Author

camhine commented Aug 13, 2013

Good morning Beth (gmb)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment