add test for yarn installation

This commit is contained in:
Ray Elliott 2020-03-19 21:57:10 +00:00
parent d83b79b988
commit 7092b12ea3
1 changed files with 5 additions and 0 deletions

View File

@ -2,6 +2,11 @@
set -e set -e
if ! command -v yarn ; then
echo 'nvim.sh: Error - dependency `yarn` not installed'
exit 5
fi
if command -v apt-get ; then if command -v apt-get ; then
apt-get -y install ninja-build gettext libtool libtool-bin autoconf automake cmake g++ pkg-config unzip apt-get -y install ninja-build gettext libtool libtool-bin autoconf automake cmake g++ pkg-config unzip
cd /tmp cd /tmp