diff options
author | Silvio Rhatto <rhatto@riseup.net> | 2018-08-24 13:59:39 -0300 |
---|---|---|
committer | Silvio Rhatto <rhatto@riseup.net> | 2018-08-24 13:59:39 -0300 |
commit | 97b37e8b9b6d20208ceee314e234ce7dd0a4e569 (patch) | |
tree | 9a9e314a1e41a894eec91ab5bc648e196477c9ab /share | |
parent | 47210c82447b2a4f9be73150d15a3d24013f5bc5 (diff) | |
download | templater-97b37e8b9b6d20208ceee314e234ce7dd0a4e569.tar.gz templater-97b37e8b9b6d20208ceee314e234ce7dd0a4e569.tar.bz2 |
Drupal: adds sync_files_to_development and sync_files_to_production
Diffstat (limited to 'share')
-rw-r--r-- | share/templater/drupal7/files/Makefile.drupal7 | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/share/templater/drupal7/files/Makefile.drupal7 b/share/templater/drupal7/files/Makefile.drupal7 index 690a438..4430295 100644 --- a/share/templater/drupal7/files/Makefile.drupal7 +++ b/share/templater/drupal7/files/Makefile.drupal7 @@ -190,3 +190,11 @@ sync_files_from_development: sync_files_from_production: rsync -avz --delete $(PRODUCTION)/sql/dumps/ sql/dumps/ rsync -avz --delete $(PRODUCTION)/files/ files/ + +sync_files_to_development: + rsync -avz --delete sql/dumps/ $(DEVELOPMENT)/sql/dumps/ + rsync -avz --delete files/ $(DEVELOPMENT)/files/ + +sync_files_to_production: + rsync -avz --delete sql/dumps/ $(PRODUCTION)/sql/dumps/ + rsync -avz --delete files/ $(PRODUCTION)/files/ |