diff options
-rw-r--r-- | share/templater/drupal7/files/Makefile.drupal7 | 4 | ||||
-rw-r--r-- | share/templater/drupal8/files/Makefile.drupal8 | 4 |
2 files changed, 4 insertions, 4 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 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 |