From 7092b12ea35a2eecda215a125b8c00ce4841a902 Mon Sep 17 00:00:00 2001 From: ray Date: Thu, 19 Mar 2020 21:57:10 +0000 Subject: [PATCH] add test for yarn installation --- dev-setup/nvim.sh | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/dev-setup/nvim.sh b/dev-setup/nvim.sh index b9bcdc1..78aacdc 100755 --- a/dev-setup/nvim.sh +++ b/dev-setup/nvim.sh @@ -2,6 +2,11 @@ set -e +if ! command -v yarn ; then + echo 'nvim.sh: Error - dependency `yarn` not installed' + exit 5 +fi + if command -v apt-get ; then apt-get -y install ninja-build gettext libtool libtool-bin autoconf automake cmake g++ pkg-config unzip cd /tmp