Created
September 10, 2018 20:51
-
-
Save Hvaale/da1e87d2b31064bb90f934e86c3c834b to your computer and use it in GitHub Desktop.
This file contains hidden or 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
<!-- | |
******************************************************************** | |
Unicorn Helix configurations | |
Defines standard configurations for modules in all layers | |
******************************************************************** | |
See Unicorn.config for commentary on how configurations operate, or https://github.com/kamsar/Unicorn/blob/master/README.md | |
--> | |
<configuration xmlns:patch="http://www.sitecore.net/xmlconfig/"> | |
<sitecore> | |
<unicorn> | |
<configurations> | |
<!-- Base configuration for all modules --> | |
<configuration name="Helix.Base" abstract="true"> | |
<predicate type="Unicorn.Predicates.SerializationPresetPredicate, Unicorn" singleInstance="true" /> | |
<targetDataStore physicalRootPath="$(sourceFolder)\$(layer)\$(module)\serialization" useDataCache="false" singleInstance="true" /> | |
</configuration> | |
<!-- Foundation modules --> | |
<configuration name="Helix.Foundation" abstract="true" extends="Helix.Base"> | |
<predicate> | |
<include name="Templates" database="master" path="/sitecore/templates/$(layer)/$(module)" /> | |
</predicate> | |
</configuration> | |
<!-- Feature modules --> | |
<configuration name="Helix.Feature" abstract="true" extends="Helix.Base"> | |
<predicate> | |
<include name="Templates" database="master" path="/sitecore/templates/$(layer)/$(module)" /> | |
<include name="Renderings" database="master" path="/sitecore/layout/renderings/$(layer)/$(module)" /> | |
<include name="Media" database="master" path="/sitecore/media library/$(layer)/$(module)" /> | |
</predicate> | |
</configuration> | |
<!-- Project modules --> | |
<configuration name="Helix.Project" abstract="true" extends="Helix.Base"> | |
<predicate> | |
<include name="Templates" database="master" path="/sitecore/templates/$(layer)/$(module)" /> | |
<include name="Renderings" database="master" path="/sitecore/layout/renderings/$(layer)/$(module)" /> | |
</predicate> | |
</configuration> | |
<syncConfiguration type="Unicorn.Loader.DefaultSyncConfiguration, Unicorn" singleInstance="true" updateLinkDatabase="true" updateSearchIndex="true" maxConcurrency="1" /> | |
</configurations> | |
</unicorn> | |
</sitecore> | |
</configuration> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment