Pas de répertoire libraries sous gestion de versions
[drupal/global/profiles/fonamental.git] / build.sh
1 #!/bin/bash
2
3 PREFIX="fonamental"
4 PLATFORM=$PREFIX
5 PROFILENAME=$PREFIX
6 THEMENAME="${PREFIX}_theme"
7 MAKEFILE="build-${PREFIX}.make"
8 TRANSLATIONS="fr"
9 THEMEDIR="$PLATFORM/profiles/$PROFILENAME/themes/custom/$THEMENAME"
10
11 # Construction de la plateforme
12 drush make --translations=$TRANSLATIONS --working-copy $MAKEFILE $PLATFORM
13 mv $PLATFORM/profiles/translations $PLATFORM/profiles/$PROFILENAME
14
15 # Génération des CSS
16 cd $THEMEDIR
17 compass clean
18 compass compile