#!/bin/bash

set -e

php app/console cache:clear
php app/console cache:clear --env=prod
echo "Nettoyage des dossiers js et css..."
rm -rf web/css/*
rm -rf web/js/*
echo "Assets install"
php app/console assets:install
php app/console assetic:dump
php app/console assetic:dump --env=prod
