Created
August 6, 2013 13:28
-
-
Save ashmoran/6164419 to your computer and use it in GitHub Desktop.
Example project configuration for Consular ( https://github.com/achiu/consular )
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/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