Haruka Yoshihara
null+****@clear*****
Wed Nov 28 15:48:55 JST 2012
Haruka Yoshihara 2012-11-28 15:48:55 +0900 (Wed, 28 Nov 2012) New Revision: a816e340f519486201a94385f305ab96313abad2 https://github.com/groonga/groonga/commit/a816e340f519486201a94385f305ab96313abad2 Log: test: execute "bundle update" in grntest only when Gemfile is updated by git Modified files: test/command/run-test.sh Modified: test/command/run-test.sh (+6 -1) =================================================================== --- test/command/run-test.sh 2012-11-28 15:26:59 +0900 (89ce9a2) +++ test/command/run-test.sh 2012-11-28 15:48:55 +0900 (044b0ff) @@ -79,7 +79,12 @@ if ! test -d "$grntest_dir"; then git clone --depth 1 git://github.com/groonga/grntest.git "$grntest_dir" (cd "$grntest_dir" && bundle install) else - (cd "$grntest_dir" && git pull && bundle update) + (cd "$grntest_dir" && git pull) + BUNDLE_GEMFILE="$grntest_dir/Gemfile" + export BUNDLE_GEMFILE + if [ "$BUNDLE_GEMFILE" -nt "$BUNDLE_GEMFILE.lock" ]; then + $RUBY -S bundle update + fi fi have_targets="false" -------------- next part -------------- HTML����������������������������... Download