-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
modules-build-helper: Support special "px:options" attribute on param…
…eter port For steps that "px:extends" another step, the "px:options" attribute copies all the options in the specified namespace, and connects the options with the parameter port. See nlbdev/pipeline#225 (comment)
- Loading branch information
Showing
12 changed files
with
260 additions
and
30 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
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
4 changes: 3 additions & 1 deletion
4
modules-build-helper/src/it/it-pipeline-module/src/main/resources/META-INF/catalog.xml
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
1 change: 1 addition & 0 deletions
1
modules-build-helper/src/it/it-pipeline-module/src/main/resources/css/foo-1.css
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 @@ | ||
$option-1: xyz !default; |
12 changes: 12 additions & 0 deletions
12
modules-build-helper/src/it/it-pipeline-module/src/main/resources/css/foo-1.xpl
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,12 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<p:declare-step xmlns:p="http://www.w3.org/ns/xproc" version="1.0" | ||
xmlns:px="http://www.daisy.org/ns/pipeline/xproc" | ||
xmlns:_="foo"> | ||
|
||
<p:option name="_:option-1" required="false" select="'abc'"> | ||
<p:documentation xmlns="http://www.w3.org/1999/xhtml"> | ||
<h1 px:role="name">Foo option 1</h1> | ||
</p:documentation> | ||
</p:option> | ||
|
||
</p:declare-step> |
3 changes: 3 additions & 0 deletions
3
modules-build-helper/src/it/it-pipeline-module/src/main/resources/css/foo.css
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 |
---|---|---|
@@ -1,3 +1,6 @@ | ||
$option-1: abc !default; | ||
$option-2: xyz !default; | ||
@use "foo-1.css"; | ||
:root { | ||
line-height: 2; | ||
} |
14 changes: 14 additions & 0 deletions
14
modules-build-helper/src/it/it-pipeline-module/src/main/resources/css/foo.xpl
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,14 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<p:declare-step xmlns:p="http://www.w3.org/ns/xproc" version="1.0" | ||
xmlns:px="http://www.daisy.org/ns/pipeline/xproc" | ||
xmlns:_="foo"> | ||
|
||
<p:option name="_:option-1" select="'xyz'"/> | ||
|
||
<p:option name="_:option-2" required="false" select="'xyz'"> | ||
<p:documentation xmlns="http://www.w3.org/1999/xhtml"> | ||
<h1 px:role="name">Foo option 2</h1> | ||
</p:documentation> | ||
</p:option> | ||
|
||
</p:declare-step> |
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
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
Oops, something went wrong.