2011-07-14 19:50:51 +00:00
|
|
|
#!/bin/bash
|
|
|
|
|
2012-08-15 20:17:21 +00:00
|
|
|
if [ $(bundle exec rake -T preflight_check | wc -l) -eq 1 ]; then
|
|
|
|
bundle exec rake preflight_check
|
|
|
|
R=$?
|
|
|
|
if [ $R -ne 0 ]; then exit $R; fi
|
|
|
|
fi
|
|
|
|
|
2012-04-20 18:52:57 +00:00
|
|
|
unset GIT_DIR
|
|
|
|
penchant gemfile remote --deployment
|
|
|
|
GIT_DIR=$OLD_GIT_DIR
|
|
|
|
git add Gemfile*
|
2011-07-14 20:51:54 +00:00
|
|
|
|