This script run the following tasks on multiple repos from the CLI.
- Creates a new tag.
- Push new created tag.
- Create a new release.
- Build the
phar
file. (only fordrupal-console-launcher
) - Upload the
phar
file (only fordrupal-console-launcher
)
This script run the following tasks on multiple repos from the CLI.
phar
file. (only for drupal-console-launcher
)phar
file (only for drupal-console-launcher
)define('WP_SETUP_CONFIG', true); | |
if(!defined( 'ABSPATH' ) ) { | |
define('ABSPATH', $this->appRoot . "/"); | |
} | |
define('WPINC', 'wp-includes' ); | |
$this->loadLegacyFile('wp-includes/functions.php' ); | |
$this->loadLegacyFile('wp-includes/load.php' ); |
<?php | |
// ** MySQL settings ** // | |
define( 'DB_NAME', $dbName); | |
define( 'DB_USER', $dbUser); | |
define( 'DB_PASSWORD', $dbPass ); | |
define( 'DB_HOST', $dbHost ); | |
define( 'DB_CHARSET', 'utf8' ); | |
define( 'DB_COLLATE', '' ); |
-- Config Start -- | |
drupal generate:module --module="Santa Fe" --machine-name="santa_fe" --module-path="/modules/custom" --description="No, I can't speak French" --core="8.x" --package="France" --module-file --composer --dependencies="user" --no-interaction | |
drupal module:install santa_fe | |
drupal config:debug | |
drupal config:debug system.site | |
drupal config:export | |
drupal config:override system.site mail [email protected] | |
drupal config:debug system.site |
-- Config Start -- | |
drupal generate:module --module="Paris Saint-Germain" --machine-name="psg" --module-path="/modules/custom" --description="No, I can't speak French" --core="8.x" --package="France" --module-file --composer --dependencies="user" --no-interaction | |
drupal module:install psg | |
drupal config:debug | |
drupal config:debug system.site | |
drupal config:export | |
drupal config:override system.site mail [email protected] | |
drupal config:debug system.site |
-- Config Start -- | |
drupal generate:module --module="Redskins" --machine-name="redskins" \ | |
--module-path="/modules/custom" --description="No, I can't understand NFL" \ | |
--core="8.x" --package="NFL" --module-file --composer --dependencies="user" \ | |
--no-interaction | |
drupal module:install redskins | |
drupal config:debug | |
drupal config:debug system.site |
-- Config Start -- | |
drupal generate:module --module="Gremio" --machine-name="gremio" --module-path="/modules/custom" --description="No, I can't speak Portuguese" --core="8.x" --package="FISL17" --module-file --composer --dependencies="user" --no-interaction | |
drupal module:install gremio | |
drupal config:debug | |
drupal config:debug system.site | |
drupal config:export | |
drupal config:override system.site mail [email protected] | |
drupal config:debug system.site |
-- Config Start -- | |
drupal generate:module --module="Royal Challengers" --machine-name="royal_challengers" --module-path="/modules/custom" --description="No, I can't speak Hindi" --core="8.x" --package="AFL" --module-file --composer --dependencies="user" --no-interaction | |
drupal module:install royal_challengers | |
drupal config:debug | |
drupal config:debug system.site | |
drupal config:export | |
drupal config:override system.site mail [email protected] | |
drupal config:debug system.site |
-- Config Start -- | |
drupal generate:module --module="Royal Challengers" --machine-name="royal_challengers" --module-path="/modules/custom" --description="No, I can't speak Hindi" --core="8.x" --package="AFL" --module-file --composer --dependencies="user" --no-interaction | |
drupal module:install royal_challengers | |
drupal config:debug | |
drupal config:debug system.site | |
drupal config:export | |
drupal config:override system.site mail [email protected] | |
drupal config:debug system.site |
<?php | |
/** | |
* @file | |
* Contains \Drupal\AppConsole\Command\SiteInstallCommand. | |
*/ | |
namespace Drupal\Console\Command; | |
use Symfony\Component\Console\Input\InputArgument; |