-
Notifications
You must be signed in to change notification settings - Fork 396
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Converting BLT to composer package. (#217)
* Moving template/build to build. * Removing custom tasks dir. * Removing build/core. * Removing template dir. * Fixing incorrect paths in phpunit tests. * Fixing executables. * Removing unnecessary git fetch. * Making phpcs filesets configurable. * Working on upgrade path. * Updating install docs and process. * Making setup tasks more verbose. * Using fork of composer-patches. * Adding update instructions. * More improvements to verbosity. * debug * Fixing rsync issues. * updating instructions. * fixing upgrade script. * fixing travis. * Adding create-project target. * Adding blt-project instructions. * Installing alias as part of init. * fixing travis * more docs fixes. * Replace blt sh mentions with blt alias. (#263) * Allowing custom import. * Removing changes from rebase.
- Loading branch information
Showing
119 changed files
with
1,277 additions
and
1,240 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,9 +2,6 @@ | |
/project.yml | ||
local.* | ||
|
||
# Ignore build artifacts | ||
bin/* | ||
|
||
# OS X | ||
.DS_Store | ||
.AppleDouble | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,45 @@ | ||
# Contributing to BLT | ||
|
||
Please feel free to contribute to the project or file issues via the GitHub issue queue. When doing so, please keep the following points in mind: | ||
|
||
* BLT is distributed under the GPLv2 license; WITHOUT ANY WARRANTY. | ||
* The project maintainers make no commitment to respond to support requests, | ||
feature requests, or pull requests. | ||
* All contributions to BLT will be reviewed for compliance with Drupal Coding | ||
Standards and best practices as defined by the project maintainer. | ||
* Feature that are part of the [Road Map](https://github.com/acquia/blt/wiki/Road-Map) | ||
will be prioritized for inclusion. | ||
|
||
BLT work is currently being tracked in the [BLT GitHub issue queue](https://github.com/acquia/blt/issues) and organized via a [Waffle.io Kanban Board](https://waffle.io/acquia/blt). | ||
|
||
## Developing BLT locally | ||
|
||
If you'd like to contribute by actively developing BLT, we suggest that you clone BLT and also created a BLT-ed project for testing your changes. | ||
|
||
Use the following commands to create a testable BLT-created project alongside BLT | ||
|
||
``` | ||
git clone https://github.com/acquia/blt.git | ||
cp -R blt/blt-project . | ||
cd blt-project | ||
composer install | ||
./vendor/acquia/blt/blt.sh install-alias | ||
blt init | ||
blt configure | ||
composer update | ||
``` | ||
|
||
The new `blt-project` directory will have a composer dependency on your local clone of BLT via a `../blt` symlink. You can therefore make changes to files in `blt` and see them immediately reflected in `blt-project/vendor/acquia/blt`. | ||
|
||
## Development conventions | ||
|
||
### Phing targets vs. Symfony commands? | ||
|
||
While Phing and the Symfony Console can both accomplish some of the same tasks, they are different tools with different intended purposes. When developing functionality for BLT we are careful to choose the right tool for the right job. | ||
|
||
Phing is intended to be build tool. It is particularly good at stringing together multiple commands and tasks into a single target which can then be executed procedurally. We use Phing when are requirements are well suited to this strength. | ||
|
||
The commands that Phing executes can, of course, be provided by anything. Some are native linux commands, some are provided by tools like Composer and NPM, while others may be provided by the Symfony Console component. | ||
|
||
As a rule, we _use Symfony console to provide fixed-scope commands_. These commands should be flexible and have absolutely no intrinsic awareness of the greater build process. We _use Phing to call commands within the context of a build process_, executing them with specific argument values at the correct time. | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.