nvim-nim/other/run_tests.sh
2016-03-15 00:15:38 +02:00

19 lines
392 B
Bash
Executable file

#!/bin/bash
# Intall plugins
if [[ ! -d plugins ]]; then
mkdir plugins
git clone https://github.com/baabelfish/vader.vim plugins/vader.vim
# git clone https://github.com/baabelfish/nvim-nim plugins/nvim-nim
fi
# Run tests
nvim -c 'Vader! tests/**/*.vader' > /dev/null
err=$?
if [ "$err" != "0" ]; then
cat report.log
exit 1
else
echo ""
echo "Great success!"
fi