]> git.immae.eu Git - github/wallabag/wallabag.git/blobdiff - install.sh
Use install_dev.sh for Travis
[github/wallabag/wallabag.git] / install.sh
index a486e8a5b565ec0c70da7e8e83365aa1f9722a49..87d53bf09e7f3b4a822c7492cf75c6ce06c62704 100755 (executable)
@@ -1,18 +1,13 @@
 #! /usr/bin/env bash
 
-if [[ $ASSETS == 'build' ]]; then
-    echo "Installing PHP dependencies through Composer..."
-    composer install --no-interaction --no-progress --prefer-dist -o
+echo " > Installing PHP dependencies through Composer..."
+composer install --no-interaction --no-progress --prefer-dist -o --no-dev
 
-    chmod ugo+x vendor/mouf/nodejs-installer/bin/local/npm
-    echo "Downloading javascript librairies through npm..."
-    vendor/mouf/nodejs-installer/bin/local/npm install
+chmod ugo+x vendor/mouf/nodejs-installer/bin/local/npm
+echo " > Downloading librairies through npm..."
+vendor/mouf/nodejs-installer/bin/local/npm install
 
-    echo "Downloading fonts librairies through bower..."
-    node_modules/bower/bin/bower install
+echo " > Concat, minify and installing assets..."
+node_modules/grunt/bin/grunt
 
-    echo "Concat, minify and installing assets..."
-    node_modules/grunt/bin/grunt
-else
-    composer install --no-interaction --no-progress --prefer-dist -o
-fi
+echo " > Install finished"