You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+24-9Lines changed: 24 additions & 9 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -15,22 +15,31 @@ codebase now uses PHP 8.4-only syntax where it improves readability.
15
15
- The Twig helpers and child theme generator remain broadly useful on their own,
16
16
but the favicon migration and admin-theme favicon features expect the
17
17
Emulsify 7.x companion theme APIs to be present.
18
+
- In short: child theme generation remains available for Emulsify Drupal 6.x
19
+
projects, while generated favicon deployment and repair are the Emulsify
20
+
Drupal 7.x companion workflows in this 2.x line.
18
21
19
22
## Usage
20
23
21
24
### Child theme generation
22
25
23
-
Emulsify Tools 1.x provides the supported Drush workflow for generating Emulsify Drupal 6.x child themes. Use either command form:
24
-
25
-
Child theme generation:
26
+
Emulsify Tools 2.x still includes the supported Drush workflow for generating
27
+
Emulsify Drupal 6.x child themes. Use either command form:
26
28
27
29
`drush emulsify_tools:bake [theme_name]`
28
30
29
-
The commands are equivalent. The generated child theme uses `emulsify` as its runtime parent theme and should be created under the Drupal custom theme path expected by the command, such as `web/themes/custom/my_theme` in a Composer-based Drupal project.
31
+
`drush emulsify [theme_name]`
32
+
33
+
The commands are equivalent. The generated child theme uses `emulsify` as its
34
+
runtime parent theme and should be created under the Drupal custom theme path
35
+
expected by the command, such as `web/themes/custom/my_theme` in a
36
+
Composer-based Drupal project.
30
37
31
-
Drupal core Starterkit-based generation is being prepared for the Emulsify Drupal 7.x release line. For Emulsify Drupal 6.x, use Emulsify Tools for child theme generation.
38
+
Drupal core Starterkit-based generation is being prepared for the Emulsify Drupal
39
+
7.x release line. For Emulsify Drupal 6.x child theme projects, use Emulsify
40
+
Tools for child theme generation.
32
41
33
-
Generated favicon deployment:
42
+
Generated favicon deployment for Emulsify Drupal 7.x companion themes:
@@ -304,7 +313,12 @@ To validate the Emulsify Drupal 6.x child theme generation workflow against this
304
313
.github/scripts/generation-smoke.sh
305
314
```
306
315
307
-
The script creates a disposable Drupal fixture site, installs Emulsify Drupal `^6`, installs this checkout as Emulsify Tools `1.x`, verifies both Drush command help targets, runs `drush emulsify watson`, validates the generated theme files, and enables the generated child theme. It intentionally does not test Drupal core Starterkit generation.
316
+
The script creates a disposable Drupal fixture site, installs Emulsify Drupal
317
+
`^6`, installs this 2.x checkout through the script's local `TOOLS_VERSION`
318
+
fixture alias, verifies both Drush command help targets, runs
319
+
`drush emulsify watson`, validates the generated theme files, and enables the
320
+
generated child theme. It intentionally does not test Drupal core Starterkit
321
+
generation or the Emulsify Drupal 7.x favicon deployment workflow.
308
322
309
323
Requirements: Composer and PHP. The default SQLite fixture database also requires `pdo_sqlite`.
310
324
@@ -343,8 +357,9 @@ There's a two-step process to publish a new release to [the project page](https:
343
357
344
358
- Merge the release-ready changes into `main`.
345
359
- The [semantic-release workflow](https://github.com/emulsify-ds/emulsify_tools/actions)
346
-
will calculate the next version from the merged commit messages, create the
347
-
GitHub release, and push the new tag to Drupal.org.
360
+
will calculate the next version from the merged commit messages, update
361
+
`CHANGELOG.md`, create a `[skip ci]` release commit, create the GitHub
362
+
release, and push the release commit and new tag to Drupal.org.
348
363
- When the workflow completes, confirm the new version appears on the
0 commit comments