Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
tree: 29d6e90a9a
Fetching contributors…

Cannot retrieve contributors at this time

executable file 32 lines (26 sloc) 0.568 kb
#!/bin/sh
function push {
git pull --rebase && \
build && \
git push
}
function build {
RAILS_ENV=test bundle exec rake app:db:migrate spec && \
RAILS_ENV=test bundle exec rake app:coffee:compile_spec app:coffee:compile app:jasmine:ci
}
function guard {
RAILS_ENV=test bundle exec rake app:db:migrate app:coffee:compile_spec app:coffee:compile && \
RAILS_ENV=test bundle exec guard
}
function jasmine {
RAILS_ENV=test bundle exec rake app:jasmine
}
function main {
case $1 in
push) push;;
g) guard;;
j) jasmine;;
*) build;;
esac
}
main $@
Jump to Line
Something went wrong with that request. Please try again.