Skip to content

Instantly share code, notes, and snippets.

@csakiistvan
Created August 31, 2014 09:42
Show Gist options
  • Save csakiistvan/cc8515034997021c18d8 to your computer and use it in GitHub Desktop.
Save csakiistvan/cc8515034997021c18d8 to your computer and use it in GitHub Desktop.
After make run shell script
#!/bin/bash
# base variables
cd $(dirname $0)/../../..
drupal_root=`pwd`
if [ "$1" == "live" ]; then
drush vset preprocess_css 0
drush vset preprocess_js 0
drush vset --exact -y install_profile newprofile
drush dis plupload -y
drush dis fontyourface -y
drush dis lang_dropdown -y
drush dis nice_menus -y
drush dis rotating_banner -y
drush en jquery_update -y
drush vset jquery_update_jquery_version "1.8"
drush pm-update libraries-7.x-2.2 -y
drush vset theme_default new_theme
drush cc all
drush uli
fi
if [ "$1" == "dev" ]; then
drush vset preprocess_css 0
drush vset preprocess_js 0
drush en stage_file_proxy -y
drush en devel -y
drush en diff -y
drush cc all
drush uli
fi
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment