Skip to content

Commit b4046cb

Browse files
authored
Merge pull request #34 from mlocati/cif-install-package-options
Allow specifying package install options via CIF
2 parents 9e95632 + 85ab32c commit b4046cb

File tree

2 files changed

+17
-0
lines changed

2 files changed

+17
-0
lines changed

src/main/resources/concrete-cif-1.0.xsd

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -700,6 +700,14 @@
700700
<xs:sequence>
701701
<xs:element name="package" minOccurs="1" maxOccurs="unbounded">
702702
<xs:complexType>
703+
<xs:sequence>
704+
<xs:element name="option" minOccurs="0" maxOccurs="unbounded">
705+
<xs:complexType>
706+
<xs:attribute name="name" type="string-required" use="required" />
707+
<xs:attribute name="value" type="xs:string" use="optional" />
708+
</xs:complexType>
709+
</xs:element>
710+
</xs:sequence>
703711
<xs:attribute name="handle" type="handle-required" use="required" />
704712
<xs:attribute name="full-content-swap" type="xs:string" fixed="true" use="optional" />
705713
<xs:attribute name="content-swap-file" type="string-required" use="optional" />
Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
<concrete5-cif version="1.0">
2+
<packages>
3+
<package handle="my_package" full-content-swap="true" content-swap-file="my-content.xml">
4+
<option name="scalar" value="value" />
5+
<option name="array[]" value="value1" />
6+
<option name="array[]" value="value2" />
7+
</package>
8+
</packages>
9+
</concrete5-cif>

0 commit comments

Comments
 (0)