19 lines
392 B
Bash
Executable file
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
|