Update Composer, update everything
This commit is contained in:
parent
ea3e94409f
commit
dda5c284b6
19527 changed files with 1135420 additions and 351004 deletions
web/core/scripts
26
web/core/scripts/drupal
Normal file
26
web/core/scripts/drupal
Normal file
|
@ -0,0 +1,26 @@
|
|||
#!/usr/bin/env php
|
||||
<?php
|
||||
|
||||
/**
|
||||
* @file
|
||||
* Provides CLI commands for Drupal.
|
||||
*/
|
||||
|
||||
use Drupal\Core\Command\QuickStartCommand;
|
||||
use Drupal\Core\Command\InstallCommand;
|
||||
use Drupal\Core\Command\ServerCommand;
|
||||
use Symfony\Component\Console\Application;
|
||||
|
||||
if (PHP_SAPI !== 'cli') {
|
||||
return;
|
||||
}
|
||||
|
||||
$classloader = require_once __DIR__ . '/../../autoload.php';
|
||||
|
||||
$application = new Application('drupal', \Drupal::VERSION);
|
||||
|
||||
$application->add(new QuickStartCommand());
|
||||
$application->add(new InstallCommand($classloader));
|
||||
$application->add(new ServerCommand($classloader));
|
||||
|
||||
$application->run();
|
Reference in a new issue