summaryrefslogtreecommitdiff
path: root/bin
diff options
context:
space:
mode:
authorYukai Huang2016-12-11 10:31:51 +0800
committerYukai Huang2016-12-11 11:18:08 +0800
commit9e6fd505e12c21e60347501132e1f473b61942b3 (patch)
tree8cb035ed94e640eb55659f1dec9924f9b3d4da02 /bin
parented83dfc862768572eab0c2aed629b1700ac9e224 (diff)
Remove bower occurences
Diffstat (limited to 'bin')
-rwxr-xr-xbin/heroku2
-rwxr-xr-xbin/setup10
2 files changed, 3 insertions, 9 deletions
diff --git a/bin/heroku b/bin/heroku
index 9c06c274..f30b2b23 100755
--- a/bin/heroku
+++ b/bin/heroku
@@ -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
diff --git a/bin/setup b/bin/setup
index 19edeecf..e24d4de7 100755
--- a/bin/setup
+++ b/bin/setup
@@ -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