From 86a8d196ea55488349b1a887cab47850b1dff172 Mon Sep 17 00:00:00 2001 From: gmarik Date: Sat, 23 Apr 2011 01:09:01 -0500 Subject: [PATCH] removed unused test --- test | 37 ------------------------------------- 1 file changed, 37 deletions(-) delete mode 100755 test diff --git a/test b/test deleted file mode 100755 index 443ece3..0000000 --- a/test +++ /dev/null @@ -1,37 +0,0 @@ -setup() { - echo -en 'disabled' - # mkdir -p $HOME/.vim/autoload/ && - # curl http://github.com/gmarik/vundle/raw/master/autoload/vundle.vim > $HOME/.vim/autoload/vundle.vim - # return$([ -s $HOME/.vim/autoload/vundle.vim ] && rm -f ~/.vim/autoload/vundle.vim ) - return 1 -} - -install() { - vim -e -c "BundleInstall" -c "q" - return $([ -d $HOME/.vim/bundle ] && [ "$(ls -1 -d ~/.vim/bundle/*|wc -l)" = "$(grep ^Bundle ~/.vim/vimrc|wc -l)" ] ) -} - -docs() { - _tags() { find ~/.vim/bundle/**/doc -name 'tags'; } - _tags | xargs rm - vim -e -c 'BundleDocs' -c 'q' - return $([ "0" != $(_tags | wc -l) ]) -} - -t() { - printf "%-15s: " $1 - $1 1>> 'test.log' 2>&1 && echo 'ok' || echo 'fail' -} - -test_all() { - : > 'test.log' - t setup - t install - t docs -} - -doc() { - maruku --html README.md ; open README.html -} - -${1:-test_all}