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

Commit

Permalink
Add "drupal:rebuild" Composer script.
Browse files Browse the repository at this point in the history
  • Loading branch information
TravisCarden committed May 1, 2024
1 parent 361017d commit b311027
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -125,6 +125,11 @@
"drush user:password editor editor",
"drush user:unblock editor"
],
"drupal:rebuild": [
"sudo rm -rf vendor web composer.lock patches.lock.json | true",
"@composer install",
"@drupal:install"
],
"drupal:run-server": [
"Composer\\Config::disableProcessTimeout",
"@php -d max_execution_time=0 web/core/scripts/drupal quick-start"
Expand All @@ -137,6 +142,7 @@
"scripts-descriptions": {
"drupal:install": "Installs Starshot.",
"drupal:install-dev": "Installs Starshot, with additional modules and configuration tweaks for development.",
"drupal:rebuild": "Rebuilds the codebase and reinstalls Starshot from scratch. Should only be used for internal development.",
"drupal:run-server": "Runs Starshot using the PHP webserver and opens it in the default browser."
},
"scripts-aliases": {
Expand Down

0 comments on commit b311027

Please sign in to comment.