aboutsummaryrefslogtreecommitdiff
path: root/share/templater/drupal7
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2019-04-03 13:47:17 -0300
committerSilvio Rhatto <rhatto@riseup.net>2019-04-03 13:47:17 -0300
commit7361147c3694b61813919abcba3051866b5298ad (patch)
tree192c8fed0d2a56262ec1b3a3287344076de8c017 /share/templater/drupal7
parenta8b981dafb4d9347a286334da77cc7ed55322bec (diff)
downloadtemplater-7361147c3694b61813919abcba3051866b5298ad.tar.gz
templater-7361147c3694b61813919abcba3051866b5298ad.tar.bz2
Drupal 7/8: Makefile: dumpdb: clear the cache to ensure a small package
Diffstat (limited to 'share/templater/drupal7')
-rw-r--r--share/templater/drupal7/files/Makefile.drupal74
1 files changed, 2 insertions, 2 deletions
diff --git a/share/templater/drupal7/files/Makefile.drupal7 b/share/templater/drupal7/files/Makefile.drupal7
index 4430295..c8ad577 100644
--- a/share/templater/drupal7/files/Makefile.drupal7
+++ b/share/templater/drupal7/files/Makefile.drupal7
@@ -113,8 +113,8 @@ initdb: settings
$(DRUSH) cc all
$(DRUSH) updatedb -y
-# Dump the database
-dumpdb: settings
+# Dump the database, clearing the cache to ensure a small package
+dumpdb: settings cache
mkdir -p sql/dumps
rm -f sql/dumps/latest.sql.gz
rm -f sql/dumps/$(DATE).sql.gz