aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--share/templater/drupal7/files/Makefile.drupal78
-rw-r--r--share/templater/drupal8/files/Makefile.drupal88
2 files changed, 16 insertions, 0 deletions
diff --git a/share/templater/drupal7/files/Makefile.drupal7 b/share/templater/drupal7/files/Makefile.drupal7
index 3662c59..690a438 100644
--- a/share/templater/drupal7/files/Makefile.drupal7
+++ b/share/templater/drupal7/files/Makefile.drupal7
@@ -182,3 +182,11 @@ perms:
deploy: perms reset submodules
drush cc all
drush features-revert -y $(FEATURE)
+
+sync_files_from_development:
+ rsync -avz --delete $(DEVELOPMENT)/sql/dumps/ sql/dumps/
+ rsync -avz --delete $(DEVELOPMENT)/files/ files/
+
+sync_files_from_production:
+ rsync -avz --delete $(PRODUCTION)/sql/dumps/ sql/dumps/
+ rsync -avz --delete $(PRODUCTION)/files/ files/
diff --git a/share/templater/drupal8/files/Makefile.drupal8 b/share/templater/drupal8/files/Makefile.drupal8
index 8871556..fe53066 100644
--- a/share/templater/drupal8/files/Makefile.drupal8
+++ b/share/templater/drupal8/files/Makefile.drupal8
@@ -199,3 +199,11 @@ perms:
deploy: perms reset submodules
drush cache-rebuild
drush config-import -y
+
+sync_files_from_development:
+ rsync -avz --delete $(DEVELOPMENT)/sql/dumps/ sql/dumps/
+ rsync -avz --delete $(DEVELOPMENT)/files/ files/
+
+sync_files_from_production:
+ rsync -avz --delete $(PRODUCTION)/sql/dumps/ sql/dumps/
+ rsync -avz --delete $(PRODUCTION)/files/ files/