aboutsummaryrefslogtreecommitdiff
path: root/share/templater/drupal8
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/drupal8
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/drupal8')
-rw-r--r--share/templater/drupal8/files/Makefile.drupal84
1 files changed, 2 insertions, 2 deletions
diff --git a/share/templater/drupal8/files/Makefile.drupal8 b/share/templater/drupal8/files/Makefile.drupal8
index fe53066..88c0852 100644
--- a/share/templater/drupal8/files/Makefile.drupal8
+++ b/share/templater/drupal8/files/Makefile.drupal8
@@ -126,8 +126,8 @@ initdb: settings
test -s sql/dumps/latest.sql.gz && gzip -dc sql/dumps/latest.sql.gz | $(DRUSH) sql-cli || true
test -s sql/dumps/latest.sql.gz && $(DRUSH) updatedb -y || true
-# 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