Commit bdbf2b3e authored by Shane Kilkelly's avatar Shane Kilkelly
Browse files

check for nvm presence before using, survive abscence

parent 0e6abc60
...@@ -4,12 +4,12 @@ grep 'name:' config/services.js | \ ...@@ -4,12 +4,12 @@ grep 'name:' config/services.js | \
sed 's/.*name: "\(.*\)",/\1/' | \ sed 's/.*name: "\(.*\)",/\1/' | \
while read service while read service
do do
pushd $service && pushd $service
echo "Installing Service $service" && echo "Installing Service $service"
echo ' installing Node' && echo ' installing Node'
nvm install && type nvm && nvm install
nvm use && type nvm && nvm use
echo ' installing Dependencies' && echo ' installing Dependencies'
npm install npm install
popd popd
done done
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment