palantirnet / the-build
Project setup templates and Phing build tasks for Drupal projects.
Installs: 88 267
Dependents: 2
Suggesters: 0
Security: 0
Stars: 4
Watchers: 24
Forks: 2
Open Issues: 7
Requires
- composer-runtime-api: ^2.2.2
- cweagans/composer-patches: ^1.7
- dmore/behat-chrome-extension: ^1.4
- drupal/coder: ^8.3.6
- drush/drush: >=9
- mglaman/drupal-check: ^1.2
- palantirnet/phing-drush-task: ^1.1
- pear/http_request2: ^2.3
- pear/versioncontrol_git: @dev
- phing/phing: ^2.14
- phpmd/phpmd: ^2.13
- phpspec/prophecy-phpunit: ^2
- dev-develop
- 4.2.0
- 4.1.1
- 4.1.0
- 4.0.x-dev
- 4.0.4
- 4.0.3
- 4.0.2
- 4.0.1
- 4.0.0
- 4.0-beta6
- 4.0-beta5
- 4.0-beta4
- 4.0-beta3
- 4.0-beta2
- 4.0-beta1
- 4.0-alpha7
- 4.0-alpha6
- 4.0-alpha5
- 4.0-alpha4
- 4.0-alpha3
- 4.0-alpha2
- 4.0-alpha1
- 3.0.3
- 3.0.2
- 3.0.1
- 3.0.0
- 2.3.2
- 2.3.1
- 2.3.0
- 2.2.1
- 2.2.0
- 2.1.2
- 2.1.1
- 2.1.0
- 2.0.1
- 2.0.0
- 2.0.0-beta1
- 2.0.0-alpha3
- 2.0.0-alpha2
- 2.0.0-alpha1
- 1.8.0
- 1.7.0
- 1.6.0
- 1.5.1
- 1.5.0
- 1.4.5
- 1.4.4
- 1.4.3
- 1.4.2
- 1.4.1
- 1.4.0
- 1.3.3
- 1.3.2
- 1.3.1
- 1.3.0
- 1.2.0
- 1.1.0
- 1.0.1
- 1.0.0
- 1.0.0-alpha2
- 1.0.0-alpha
- 0.2.0
- 0.1.1
- 0.1.0
- dev-cloud-api-version-2-backup
- dev-DEV-71-replace-drupal-check-with-phpstan
- dev-workspace-persistence-test
- dev-drupal11
- dev-phpmd-command
- dev-update-acquia-memcache
- dev-drupal-first-install-config-ignore
- dev-TECH-114
- dev-update-phing-3
- dev-headless-chrome-circle
- dev-copy-phpmd-phplint-config
- dev-abmaster
- dev-use-phing-3
- dev-update-defaults-yml
- dev-detect-ddev
- dev-match-composer-devel-version
- dev-yarn-safe-target
- dev-lite
- dev-use-ddev-defaults
- dev-drush-install-from-existing-config
- dev-release-1.0
- dev-experimental-2018-09
- dev-experimental-2018-08
- dev-lukewertz-patch-1
- dev-experimental-january-2017
- dev-experimental-december-2016
- dev-project-ama
- dev-msg-branch
This package is auto-updated.
Last update: 2024-10-14 20:48:32 UTC
README
This repository contains project setup templates and reusable phing build targets for Drupal projects.
Note: If you are starting a new a project, you may be looking for the drupal-skeleton.
Adding the-build with composer
$> composer require palantirnet/the-build
Composer 2.2.2 or greater is required for the-build.
Setting up
Install the default templates and phing targets to your project:
$> vendor/bin/the-build-installer
This will trigger an interactive prompt to configure your basic build properties, adding the following templated files and directories:
.circleci/
.the-build/
behat.yml
build.xml
drush/drushrc.php
drush/*.aliases.drushrc.php
config/
(web|docroot)/sites/default/settings.php
(web|docroot)/sites/default/settings.(host).php
These files should be checked in to your project.
Configure your build by editing .the-build/build.yml
. You can find more properties in defaults.yml, and override the defaults by copying them into your project's properties files.
Using the-build
Everyday commands
Reinstall the Drupal site from config:
$> vendor/bin/phing install
Rebuild the settings.build.php
configuration, and the styleguide if it's available (run automatically when you call install
):
$> vendor/bin/phing build
Run code reviews and tests:
$> vendor/bin/phing test
Other commands
View a list of other available targets with:
$> vendor/bin/phing -l
Additional documentation
- Configuring the-build
- Building an artifact
- Using Drupal multisites
- Custom Phing tasks provided by the-build
- Developing on the-build
Copyright 2016-2020 Palantir.net, Inc.