From c492a46e880086152d9b0c184d25770b9b551b4e Mon Sep 17 00:00:00 2001 From: David Snopek Date: Tue, 12 Nov 2013 00:30:37 +0000 Subject: [PATCH 1/6] Added a deploy.type property to choose how to deploy and renamed 'site-install' to 'deploy' (with a backwards compatible alias). --- build.default.properties | 14 ++++++++++++ build.xml | 49 +++++++++++++++++++++++++++++++++------- 2 files changed, 55 insertions(+), 8 deletions(-) diff --git a/build.default.properties b/build.default.properties index fac0ee8..9405e8a 100644 --- a/build.default.properties +++ b/build.default.properties @@ -26,6 +26,20 @@ drupal.db.url = sqlite:${project.drupal.dir}/database.sqlite # Ex: drupal.make.rewritebase = /drupal7 # drupal.make.rewritebase = +# How to deploy the site during 'phing site-install'. +# Options include: drush, aegir +deploy.type = drush + +# Options for a Drush-based deployment +# The database url to use for site installs +deploy.drush.db = sqlite:${project.drupal.dir}/database.sqlite + +# Options for an Aegir-based deployment +# The site name to use for the site (also, the domain name it'll be accessible under) +deploy.aegir.site = my-site.localhost +# The machine name to use for the platform (by default: phing.project.name) +#deploy.aegir.platform = my_platform + # The directory containing the modules and themes for the project relative to the drupal root directory. If using Drush Make this is also where modules, themes, libraries etc. will be downloaded to. project.code.dir = sites/all # A common prefix for modules developed for the site e.g. your_prefix_your_module diff --git a/build.xml b/build.xml index ac5d251..f11aa17 100644 --- a/build.xml +++ b/build.xml @@ -556,7 +556,7 @@ specific prefix. --> + depends="init, clean, deploy"> @@ -686,7 +686,7 @@ Execution of this target can be skipped by setting the --> @@ -1118,17 +1118,50 @@ called from `init` target. --> - - + + + + + + + + + + + + + + + + + + + + + + + + +