|
3 | 3 | <img width=200px height=200px src="https://github.com/AlexSkrypnyk/drupal_extension_scaffold/assets/378794/31658686-7a8a-4203-9c8b-a8bc0b99f002" alt="Drupal extension scaffold"></a>
|
4 | 4 | </p>
|
5 | 5 |
|
6 |
| -<h1 align="center">Drupal extension scaffold</h1> |
| 6 | +<h1 align="center">Drupal extension template with CI integration and mirroring to Drupal.org</h1> |
7 | 7 |
|
8 | 8 | <div align="center">
|
9 | 9 |
|
|
23 | 23 |
|
24 | 24 | ---
|
25 | 25 |
|
26 |
| -<p align="center">Drupal extension template for development and testing in CI of your choice with mirroring to Drupal.org</p> |
27 |
| - |
28 | 26 | ## Use case
|
29 | 27 |
|
30 |
| -Perform extension development in GitHub with testing in CI, and push code |
31 |
| -committed only to the main branches (`1.x`, `2.x` etc.) |
32 |
| -to [drupal.org](https://drupal.org). |
| 28 | +Develop a module or theme on GitHub, test in GitHub Actions or CircleCI, and push the code to [drupal.org](https://drupal.org). |
33 | 29 |
|
34 | 30 | ## Features
|
35 | 31 |
|
36 | 32 | - Turnkey CI configuration with artifacts and test results support.
|
37 | 33 | - PHP version matrix for [8.2](https://www.php.net/supported-versions.php), [8.3](https://www.php.net/supported-versions.php).
|
38 |
| - - Drupal version matrix: `stable`, `next` and `last EOL` version. |
39 |
| - - CI providers: |
40 |
| - - [GitHub Actions](.github/workflows/test.yml) |
41 |
| - - [CircleCI](.circleci/config.yml) |
| 34 | + - Drupal version matrix: `stable`, `next` and `legacy` version. |
| 35 | + - CI providers: [GitHub Actions](.github/workflows/test.yml) and [CircleCI](.circleci/config.yml) |
42 | 36 | - Tools:
|
43 | 37 | - Develop locally using PHP running on your host using
|
44 | 38 | identical [`.devtools`](.devtools) scripts as in CI.
|
45 | 39 | - Uses [drupal-composer/drupal-project](https://github.com/drupal-composer/drupal-project)
|
46 | 40 | to create drupal site structure. Providing a custom fork of `drupal-project` is also supported.
|
47 | 41 | - Additional development dependenices provided in [`composer.dev.json`](composer.dev.json). These are merged during the codebase build.
|
48 |
| - - The extension can installed as a module or a theme: modify `type` property set in the `info.yml` file. |
| 42 | + - The extension can be installed as a module or a theme: modify `type` property set in the `info.yml` file. |
49 | 43 | - Additional dependencies can be added for integration testing
|
50 | 44 | between extensions: add dependency into [`suggest`](composer.json#L25) section
|
51 | 45 | of `composer.json`.
|
|
0 commit comments