diff --git a/build.dist.xml b/build.dist.xml index 04ee5adf..c32c0c42 100644 --- a/build.dist.xml +++ b/build.dist.xml @@ -9,11 +9,16 @@ + + + + diff --git a/docs/properties.md b/docs/properties.md index 095eb5b9..2d2ac56a 100644 --- a/docs/properties.md +++ b/docs/properties.md @@ -62,6 +62,15 @@ Cool! This phing-ism is what powers our environment-specific property layering a [More info](../tasks/drupal.xml#L16-L38) +### Style Guide + +| Property | Default value | What is it? | +|---|---|---| +| `styleguide.root` | `styleguide` | Location of the style guide, relative to the project root. | +| `styleguide.command` | `yarn default` | Command to compile the style guide assets, for use during the build and artifact steps. | + +[More info](../tasks/styleguide.xml#L22-L24) + ### Code Review | Property | Default value | What is it? | diff --git a/tasks/install.xml b/tasks/install.xml index 9e179925..82fe5493 100644 --- a/tasks/install.xml +++ b/tasks/install.xml @@ -61,6 +61,7 @@ + diff --git a/tasks/styleguide.xml b/tasks/styleguide.xml new file mode 100644 index 00000000..ccd2e649 --- /dev/null +++ b/tasks/styleguide.xml @@ -0,0 +1,94 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Running build command in ${styleguide.root}: ${styleguide.command} + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +