]>
git.madduck.net Git - etc/vim.git/commitdiff
madduck's git repository
Every one of the projects in this repository is available at the canonical
URL git://git.madduck.net/madduck/pub/<projectpath> — see
each project's metadata for the exact URL.
All patches and comments are welcome. Please squash your changes to logical
commits before using git-format-patch and git-send-email to
patches@ git. madduck. net .
If you'd read over the Git project's submission guidelines and adhered to them,
I'd be especially grateful.
SSH access, as well as push access can be individually
arranged .
If you use my repositories frequently, consider adding the following
snippet to ~/.gitconfig and using the third clone URL listed for each
project:
[url "git://git.madduck.net/madduck/"]
insteadOf = madduck:
summary |
shortlog |
log |
commit | commitdiff |
tree
raw |
patch |
inline | side by side (parent:
7f61ab3 )
git clone https://github.com/junegunn/vader.vim
script: |
git clone https://github.com/junegunn/vader.vim
script: |
- cd "$TRAVIS_BUILD_DIR"
- ./test/run-tests.sh
cp -v after/ftplugin/markdown.vim ${ADDONS}/after/ftplugin/markdown.vim
mkdir -pv ${REGISTRY}
cp -v registry/markdown.yaml ${REGISTRY}/markdown.yaml
cp -v after/ftplugin/markdown.vim ${ADDONS}/after/ftplugin/markdown.vim
mkdir -pv ${REGISTRY}
cp -v registry/markdown.yaml ${REGISTRY}/markdown.yaml
+
+test: build/tabular build/vader.vim
+ test/run-tests.sh
+.PHONY: test
+
+build/tabular: | build
+ git clone https://github.com/godlygeek/tabular build/tabular
+
+build/vader.vim: | build
+ git clone https://github.com/junegunn/vader.vim build/vader.vim
+
+build:
+ mkdir build
-To run the tests, you must install [Vader](https://github.com/junegunn/vader.vim).
+You can run the tests using the Makefile from the top directory:
-Vader and other plugins must be installed in the same directory as this repository.
-Run the tests with:
-
- ./run-tests.sh
+To run them manually please refer to the instructions/commands in the Makefile.
-cd "$( dirname "${BASH_SOURCE[0]}" )" && vim -Nu vimrc -c 'Vader! *' > /dev/null
+# Exit on error.
+set -e
+
+cd "$( dirname "${BASH_SOURCE[0]}" )"
+
+for dep in ../build/tabular ../build/vader.vim; do
+ if [[ ! -d $dep ]]; then
+ echo "Missing dependency: $dep"
+ echo "You may just want to use 'make test'."
+ exit 1
+ fi
+done
+
+vim -Nu vimrc -c 'Vader! *' > /dev/null
set nocompatible
set rtp+=../
set nocompatible
set rtp+=../
-set rtp+=../.. /tabular/
-set rtp+=../.. /vader.vim/
+set rtp+=../build /tabular/
+set rtp+=../build /vader.vim/
filetype on
filetype plugin on
filetype indent on
filetype on
filetype plugin on
filetype indent on