Skip to content

Commit

Permalink
Continuous Integration Publish: d597e00
Browse files Browse the repository at this point in the history
Merge pull request #125 from nils-a/feature/GH-116

(GH-116) updated the calculation for TFM
  • Loading branch information
web-flow authored Mar 16, 2021
1 parent 7276a31 commit 038d656
Show file tree
Hide file tree
Showing 7 changed files with 20 additions and 8 deletions.
2 changes: 1 addition & 1 deletion feed.atom
Original file line number Diff line number Diff line change
Expand Up @@ -4,5 +4,5 @@
<title>CakeContrib.Guidelines</title>
<link rel="self" href="https://cake-contrib.github.io/CakeContrib.Guidelines" />
<rights>2021</rights>
<updated>2021-03-15T15:18:10Z</updated>
<updated>2021-03-16T19:42:53Z</updated>
</feed>
4 changes: 2 additions & 2 deletions feed.rss
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<link>https://cake-contrib.github.io/CakeContrib.Guidelines</link>
<description />
<copyright>2021</copyright>
<pubDate>Mon, 15 Mar 2021 15:18:10 GMT</pubDate>
<lastBuildDate>Mon, 15 Mar 2021 15:18:10 GMT</lastBuildDate>
<pubDate>Tue, 16 Mar 2021 19:42:53 GMT</pubDate>
<lastBuildDate>Tue, 16 Mar 2021 19:42:53 GMT</lastBuildDate>
</channel>
</rss>
1 change: 1 addition & 0 deletions guidelines/RecommendedCakeVersion.html
Original file line number Diff line number Diff line change
Expand Up @@ -137,6 +137,7 @@ <h2 id="related-rules">Related rules</h2>
<ul>
<li><a href="../rules/ccg0009">CCG0009</a></li>
</ul>
<p>This rule is only applied for <a href="../settings#projecttype">project types</a> <code>addin</code> and <code>module</code>.</p>
<h2 id="usage">Usage</h2>
<p>Using this package automatically enables this guideline.</p>
<h2 id="settings">Settings</h2>
Expand Down
2 changes: 1 addition & 1 deletion guidelines/RecommendedReferences.html
Original file line number Diff line number Diff line change
Expand Up @@ -142,7 +142,7 @@ <h2 id="related-rules">Related rules</h2>
<li><a href="../rules/ccg0005">CCG0005</a></li>
<li><a href="../rules/ccg0006">CCG0006</a></li>
</ul>
<p>These rules are not applied for package type recipe.</p>
<p>These rules are only applied for <a href="../settings#projecttype">project types</a> <code>addin</code> and <code>module</code>.</p>
<h2 id="usage">Usage</h2>
<p>Using this package automatically enables this guideline.</p>
<h2 id="settings">Settings</h2>
Expand Down
1 change: 1 addition & 0 deletions guidelines/RecommendedTags.html
Original file line number Diff line number Diff line change
Expand Up @@ -174,6 +174,7 @@ <h2 id="related-rules">Related rules</h2>
<ul>
<li><a href="../rules/ccg0008">CCG0008</a></li>
</ul>
<p>These rules are only applied for <a href="../settings#projecttype">project types</a> <code>addin</code>, <code>module</code> and <code>recipe</code>.</p>
<h2 id="usage">Usage</h2>
<p>Using this package automatically enables this guideline.</p>
<h2 id="settings">Settings</h2>
Expand Down
1 change: 1 addition & 0 deletions guidelines/TargetFramework.html
Original file line number Diff line number Diff line change
Expand Up @@ -178,6 +178,7 @@ <h2 id="related-rules">Related rules</h2>
<ul>
<li><a href="../rules/ccg0007">CCG0007</a></li>
</ul>
<p>These rules are only applied for <a href="../settings#projecttype">project types</a> <code>addin</code> and <code>module</code>.</p>
<h2 id="usage">Usage</h2>
<p>Using this package automatically enables this guideline.</p>
<h2 id="settings">Settings</h2>
Expand Down
17 changes: 13 additions & 4 deletions settings/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -139,15 +139,24 @@ <h2 id="table-of-contents">Table of Contents</h2>
<!-- END doctoc generated TOC please keep comment here to allow auto update -->
<h2 id="general">General</h2>
<h3 id="projecttype">ProjectType</h3>
<p>A project can be one of two types: <code>addin</code> or <code>module</code>. Some rules have different behavior for
different project types.
The project type is automatically detected. To override auto-detection use the following:</p>
<p>A project can be one of different types: <code>addin</code>, <code>module</code>, <code>recipe</code> or <code>other</code>.
Some rules have different behavior for different project types.
The project type is automatically detected but can be overridden.</p>
<p>The rules on how project type detection is done are as follows (first matching rule applies):</p>
<ul>
<li>Projects not referencing <code>Cake.Core</code> or <code>Cake.Common</code> are always of type <code>other</code></li>
<li>Project names (AssemblyName, PackageId) starting with <code>Cake.</code> and ending in <code>.Module</code> will be treated as <code>module</code></li>
<li>Project names (AssemblyName, PackageId) starting with <code>Cake.</code> and ending in <code>.Recipe</code> will be treated as <code>recipe</code></li>
<li>Project names (AssemblyName, PackageId) starting with <code>Cake.</code> will be treated as <code>addin</code></li>
<li>All other projects are of type <code>other</code></li>
</ul>
<p>To override auto-detection use the following:</p>
<pre><code class="language-xml">&lt;PropertyGroup&gt;
&lt;CakeContribGuidelinesProjectType&gt;module&lt;/CakeContribGuidelinesProjectType&gt;
&lt;/PropertyGroup&gt;
</code></pre>
<div class="alert alert-info"><p>Though you can technically set <code>CakeContribGuidelinesProjectType</code> to anything you want, setting it to
different values than <code>addin</code> or <code>module</code> might yield unexpected results.</p>
different values than <code>addin</code>, <code>module</code> or <code>recipe</code> might yield unexpected results.</p>
</div>
<h2 id="icons">Icons</h2>
<h3 id="iconomitimport">IconOmitImport</h3>
Expand Down

0 comments on commit 038d656

Please sign in to comment.