aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2012-01-19 11:43:55 -0200
committerSilvio Rhatto <rhatto@riseup.net>2012-01-19 11:43:55 -0200
commit08d832bd1b105c6ac307ab546f7b1048aa8b325b (patch)
tree66a0a8cbeefcd07bbc479efeb4db61d9c7b1ec6f
parent1fd17a98d05c82c61facc0ae028f8a42075fb49a (diff)
downloadpuppet-drupal-08d832bd1b105c6ac307ab546f7b1048aa8b325b.tar.gz
puppet-drupal-08d832bd1b105c6ac307ab546f7b1048aa8b325b.tar.bz2
Adding makefiles for themes
-rw-r--r--files/themes6.make29
-rw-r--r--files/themes7.make15
-rw-r--r--templates/drupal.sh.erb2
3 files changed, 46 insertions, 0 deletions
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