homepage.js/install

17 lines
282 B
Bash
Executable File

#!/bin/bash
PACKAGES="gulp-cli gulper gulp mocha"
if [[ $APP_DEBUG == 'true' ]]; then
npm i
else
npm i --prod
fi
echo -e "Installing \033[32m$PACKAGES\033[0m"
if [[ APP_DEBUG == 'true' ]]; then
npm i -g $PACKAGES
else
npm i -g --prod $PACKAGES
fi
echo "All done."