aboutsummaryrefslogtreecommitdiff
path: root/share
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2017-10-28 13:37:43 -0200
committerSilvio Rhatto <rhatto@riseup.net>2017-10-28 13:37:43 -0200
commita7c5a347d928255af616af25202c268a6721fdf7 (patch)
treece5cf777326fa5f8f7fd69732deedcce823fb761 /share
parent4935667cb4a22a85ca0041cf7ace279296ccefa8 (diff)
downloadtemplater-a7c5a347d928255af616af25202c268a6721fdf7.tar.gz
templater-a7c5a347d928255af616af25202c268a6721fdf7.tar.bz2
Drupal 8: Makefile: site_install_sqlite target
Diffstat (limited to 'share')
-rw-r--r--share/templater/drupal8/Makefile7
1 files changed, 7 insertions, 0 deletions
diff --git a/share/templater/drupal8/Makefile b/share/templater/drupal8/Makefile
index c535eb3..ce0eb53 100644
--- a/share/templater/drupal8/Makefile
+++ b/share/templater/drupal8/Makefile
@@ -95,6 +95,13 @@ drush:
site_install:
$(DRUSH) site-install
+# Run drush site-install, sqlite version
+# See https://api.drupal.org/api/drupal/core%21INSTALL.sqlite.txt/8.4.x
+site_install_sqlite:
+ mkdir -p sql/.ht.sqlite
+ touch sql/dumps/.ht.sqlite
+ $(DRUSH) site-install --db-url=sqlite://$(CWD)/sql/dumps/.ht.sqlite
+
# Update the database
updatedb:
$(DRUSH) updatedb -y