Skip to content

Instantly share code, notes, and snippets.

@ashmoran
Created August 6, 2013 13:28
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 ashmoran/6164419 to your computer and use it in GitHub Desktop.
Save ashmoran/6164419 to your computer and use it in GitHub Desktop.
Example project configuration for Consular ( https://github.com/achiu/consular )
#!/usr/bin/env ruby
window do
setup do
unless ENV['HARVEST_PATH']
puts "You must set the HARVEST_PATH environment variable to your local harvest repo path"
end
end
before do
run "cd #{ENV['HARVEST_PATH']}"
end
# ===== Project tabs =====
tab do
run "guard --group features"
end
# ===== App server tabs =====
tab do
run "cd app_server"
run "guard --group server"
end
tab do
run "cd app_server"
run "guard --group test"
end
# ===== Web client tabs =====
tab do
run "cd web_client"
run "guard --group build"
end
tab do
run "cd web_client"
run "guard --group test"
end
# ===== Miscellaneous tabs =====
tab do
run "pry"
end
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment