From 08d832bd1b105c6ac307ab546f7b1048aa8b325b Mon Sep 17 00:00:00 2001 From: Silvio Rhatto Date: Thu, 19 Jan 2012 11:43:55 -0200 Subject: Adding makefiles for themes --- files/themes6.make | 29 +++++++++++++++++++++++++++++ files/themes7.make | 15 +++++++++++++++ templates/drupal.sh.erb | 2 ++ 3 files changed, 46 insertions(+) create mode 100644 files/themes6.make create mode 100644 files/themes7.make diff --git a/files/themes6.make b/files/themes6.make new file mode 100644 index 0000000..5817063 --- /dev/null +++ b/files/themes6.make @@ -0,0 +1,29 @@ +; +; Themes makefile for puppet-drupal. + +; core +core = 6.x +;projects[] = drupal + +; api +api = 2 + +projects[] = gardening +projects[] = notechaos +projects[] = scruffy +projects[] = cleanfolio +projects[] = abstract +projects[] = fusion +projects[] = skinr +projects[] = arclitetheme +projects[] = fields_2009 +projects[] = acoldday +projects[] = twittish +projects[] = orange +projects[] = grassland +projects[] = moleskine +projects[] = ICE-BUSINESS +projects[] = abessive +projects[] = dossier +projects[] = bookstore +projects[] = desk02_gradiel diff --git a/files/themes7.make b/files/themes7.make new file mode 100644 index 0000000..6a64225 --- /dev/null +++ b/files/themes7.make @@ -0,0 +1,15 @@ +; +; Themes makefile for puppet-drupal. + +; core +core = 7.x +;projects[] = drupal + +; api +api = 2 + +projects[] = ICE-BUSINESS +projects[] = abessive +projects[] = dossier +projects[] = drupalace +projects[] = desk02_gradiel diff --git a/templates/drupal.sh.erb b/templates/drupal.sh.erb index 77bc472..d95844d 100644 --- a/templates/drupal.sh.erb +++ b/templates/drupal.sh.erb @@ -211,6 +211,7 @@ function drupal_make { series="$1" base="$BASE/drupal-$series" makefile="/usr/local/share/drupal/drupal$series.make" + makefile_themes="/usr/local/share/drupal/themes$series.make" if [ -e "$makefile" ]; then if [ ! -e "$base" ]; then @@ -219,6 +220,7 @@ function drupal_make { fi drush dl drush_make ( cd $base && drush make -y --no-core $makefile ) + ( cd $base && drush make -y --no-core $makefile_themes ) else echo "Makefile not found: $makefile" exit 1 -- cgit v1.2.3