]> gitweb.fluxo.info Git - puppet-drupal.git/commitdiff
Adding makefiles for themes
authorSilvio Rhatto <rhatto@riseup.net>
Thu, 19 Jan 2012 13:43:55 +0000 (11:43 -0200)
committerSilvio Rhatto <rhatto@riseup.net>
Thu, 19 Jan 2012 13:43:55 +0000 (11:43 -0200)
files/themes6.make [new file with mode: 0644]
files/themes7.make [new file with mode: 0644]
templates/drupal.sh.erb

diff --git a/files/themes6.make b/files/themes6.make
new file mode 100644 (file)
index 0000000..5817063
--- /dev/null
@@ -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 (file)
index 0000000..6a64225
--- /dev/null
@@ -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
index 77bc472767da10da20416b70c91af34a1b347c65..d95844d0c61602b02053e5a0a31aea83ef49c3e9 100644 (file)
@@ -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