]>
Commit | Line | Data |
---|---|---|
1 | #! /usr/bin/env bash | |
2 | ||
3 | if [[ $ASSETS == 'build' ]]; then | |
4 | echo "Installing PHP dependencies through Composer..." | |
5 | composer install --no-interaction --no-progress --prefer-dist -o | |
6 | ||
7 | chmod ugo+x vendor/mouf/nodejs-installer/bin/local/npm | |
8 | echo "Downloading javascript librairies through npm..." | |
9 | vendor/mouf/nodejs-installer/bin/local/npm install | |
10 | ||
11 | echo "Downloading fonts librairies through bower..." | |
12 | node_modules/bower/bin/bower install | |
13 | ||
14 | echo "Concat, minify and installing assets..." | |
15 | node_modules/grunt/bin/grunt | |
16 | else | |
17 | composer install --no-interaction --no-progress --prefer-dist -o | |
18 | fi |