tweakin test script
This commit is contained in:
parent
abb7074f9d
commit
fd84f15ee8
@ -1,7 +1,9 @@
|
|||||||
setup() {
|
setup() {
|
||||||
|
echo -en 'disabled'
|
||||||
# mkdir -p $HOME/.vim/autoload/ &&
|
# mkdir -p $HOME/.vim/autoload/ &&
|
||||||
# curl http://github.com/gmarik/vundle/raw/master/autoload/vundle.vim > $HOME/.vim/autoload/vundle.vim
|
# 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$([ -s $HOME/.vim/autoload/vundle.vim ] && rm -f ~/.vim/autoload/vundle.vim )
|
||||||
|
return 1
|
||||||
}
|
}
|
||||||
|
|
||||||
install() {
|
install() {
|
||||||
@ -21,7 +23,6 @@ t() {
|
|||||||
$1 1>> 'test.log' 2>&1 && echo 'ok' || echo 'fail'
|
$1 1>> 'test.log' 2>&1 && echo 'ok' || echo 'fail'
|
||||||
}
|
}
|
||||||
|
|
||||||
# $ source vundle_test.sh; test_all
|
|
||||||
test_all() {
|
test_all() {
|
||||||
: > 'test.log'
|
: > 'test.log'
|
||||||
t setup
|
t setup
|
||||||
@ -29,7 +30,8 @@ test_all() {
|
|||||||
t docs
|
t docs
|
||||||
}
|
}
|
||||||
|
|
||||||
# $ source vundle_test.sh; doc
|
|
||||||
doc() {
|
doc() {
|
||||||
maruku --html README.md ; open README.html
|
maruku --html README.md ; open README.html
|
||||||
}
|
}
|
||||||
|
|
||||||
|
${1:-test_all}
|
||||||
|
Loading…
Reference in New Issue
Block a user