Skip to content
This repository has been archived by the owner on Aug 8, 2024. It is now read-only.

Commit

Permalink
Separate "drupal:quick-start" into its own "drupal:run-server" Compos…
Browse files Browse the repository at this point in the history
…er script.
  • Loading branch information
TravisCarden committed Apr 29, 2024
1 parent 237b41c commit 23bef67
Showing 1 changed file with 17 additions and 3 deletions.
20 changes: 17 additions & 3 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -125,14 +125,28 @@
"drush config:set --yes system.logging error_level verbose",
"drush pm:enable --yes default_content"
],
"drupal:run-server": [
"Composer\\Config::disableProcessTimeout",
"@php web/core/scripts/drupal quick-start"
],
"post-create-project-cmd": [
"@drupal:install",
"Composer\\Config::disableProcessTimeout",
"test -n \"$CI\" || php -d max_execution_time=0 web/core/scripts/drupal quick-start"
"test -n \"$CI\" || @drupal:run-server"
]
},
"scripts-descriptions": {
"drupal:install": "Installs Drupal CMS.",
"drupal:install-dev": "Installs Drupal CMS, with additional modules and configuration tweaks for development."
"drupal:install-dev": "Installs Drupal CMS, with additional modules and configuration tweaks for development.",
"drupal:run-server": "Runs Drupal CMS using the PHP webserver and opens it in the default browser."
},
"scripts-aliases": {
"drupal:install": [
"si",
"sin"
],
"drupal:run-server": [
"rs",
"serve"
]
}
}

0 comments on commit 23bef67

Please sign in to comment.