replace grunt service initialisation with bash script

This commit is contained in:
Hayden Faulds
2017-07-27 15:39:22 +01:00
parent 3f963689f9
commit 6ef2cae504
2 changed files with 16 additions and 31 deletions
+12
View File
@@ -0,0 +1,12 @@
#! env bash
grep 'name:' config/services.js | \
sed 's/.*name: "\(.*\)",/\1/' | \
while read service
do
pushd $service &&
nvm install &&
nvm use &&
npm install
popd
done