Pathogen and new bundles
git-svn-id: http://photonzero.com/dotfiles/trunk@65 23f722f6-122a-0410-8cef-c75bd312dd78
This commit is contained in:
parent
9b767aed56
commit
96a93bce9e
78 changed files with 10717 additions and 0 deletions
25
.vim/bundle/command-t/multi-spec.sh
Executable file
25
.vim/bundle/command-t/multi-spec.sh
Executable file
|
|
@ -0,0 +1,25 @@
|
|||
#!/bin/sh -e
|
||||
|
||||
function build_quietly()
|
||||
{
|
||||
(bundle install > /dev/null &&
|
||||
cd ruby/command-t &&
|
||||
ruby extconf.rb > /dev/null &&
|
||||
make clean > /dev/null &&
|
||||
make > /dev/null)
|
||||
}
|
||||
|
||||
OLD_PATH=$PATH
|
||||
for RUBY_VERSION in $(ls ~/.multiruby/install); do
|
||||
echo "$RUBY_VERSION: building"
|
||||
export PATH=~/.multiruby/install/$RUBY_VERSION/bin:$OLD_PATH
|
||||
build_quietly
|
||||
echo "$RUBY_VERSION: running spec suite"
|
||||
bin/rspec spec
|
||||
echo "$RUBY_VERSION: finished"
|
||||
done
|
||||
|
||||
# put things back the way we found them
|
||||
export PATH=$OLD_PATH
|
||||
echo "Restoring: $(ruby -v)"
|
||||
build_quietly
|
||||
Loading…
Add table
Add a link
Reference in a new issue