Remove bower occurences

This commit is contained in:
Yukai Huang
2016-12-11 10:31:51 +08:00
parent ed83dfc862
commit 9e6fd505e1
7 changed files with 7 additions and 58 deletions

View File

@@ -3,7 +3,7 @@
set -e
if [ "$BUILD_ASSETS" = true ]; then
BUILD_ASSETS=false npm install && npm run assets:install
BUILD_ASSETS=false npm install
# setup config files
cat << EOF > .sequelizerc

View File

@@ -16,12 +16,6 @@ EOF
exit 0
fi
if ! type bower > /dev/null
then
echo "bower is not installed, install via npm"
npm install -g bower
fi
echo "copy config files"
if [ ! -f config.json ]; then
cp config.json.example config.json
@@ -35,8 +29,8 @@ if [ ! -f .sequelizerc ]; then
cp .sequelizerc.example .sequelizerc
fi
echo "install npm and bower packages"
BUILD_ASSETS=false npm install && bower install
echo "install npm packages"
BUILD_ASSETS=false npm install
cat << EOF