Skip to content
This repository was archived by the owner on Apr 6, 2024. It is now read-only.

Commit c7c80b7

Browse files
committed
Merge branch 'release/0.8.0'
2 parents cb965f6 + 0e0eaf4 commit c7c80b7

File tree

71 files changed

+765
-181
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

71 files changed

+765
-181
lines changed

.appveyor.yml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,10 @@ image: Visual Studio 2017
66
#---------------------------------#
77
# Build Script #
88
#---------------------------------#
9+
install:
10+
# Update to latest NuGet version since we require 5.3.0 for embedded icon
11+
- ps: nuget update -self
12+
913
build_script:
1014
- ps: .\build.ps1 -Target AppVeyor
1115

@@ -27,4 +31,4 @@ branches:
2731
# Build Cache #
2832
#---------------------------------#
2933
cache:
30-
- tools -> setup.cake
34+
- tools -> recipe.cake

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ This addin for the Cake Build Automation System allows you to create reports in
44
for issues found using any code analyzer or linter using the [Cake Issues addin](https://github.com/cake-contrib/Cake.Issues).
55

66
For more information about this add-in see the [Cake.Issues website](https://cakeissues.net)
7-
and for general information about the Cake build automation system see the [Cake website](http://cakebuild.net)
7+
and for general information about the Cake build automation system see the [Cake website](http://cakebuild.net).
88

99
[![License](http://img.shields.io/:license-mit-blue.svg)](https://github.com/cake-contrib/Cake.Issues.Reporting.Generic/blob/feature/build/LICENSE)
1010

@@ -32,10 +32,10 @@ and for general information about the Cake build automation system see the [Cake
3232

3333
## Chat Room
3434

35-
Come join in the conversation about this addin in our Gitter Chat Room
35+
Come join in the conversation about this addin in our Gitter Chat Room.
3636

3737
[![Join the chat at https://gitter.im/cake-contrib/Lobby](https://badges.gitter.im/cake-contrib/Lobby.svg)](https://gitter.im/cake-contrib/Lobby?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge)
3838

3939
## Contributing
4040

41-
Contributions are welcome. See [Contribution Guidelines](CONTRIBUTING.md).
41+
Contributions are welcome. See [Contribution Guidelines](CONTRIBUTING.md).

azure-pipelines.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,8 @@ trigger:
66

77
pr:
88
- develop
9+
- release/*
10+
- hotfix/*
911

1012
jobs:
1113
- job: Windows

build.ps1

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ http://cakebuild.net
3535

3636
[CmdletBinding()]
3737
Param(
38-
[string]$Script = "setup.cake",
38+
[string]$Script = "recipe.cake",
3939
[string]$Target = "Default",
4040
[ValidateSet("Release", "Debug")]
4141
[string]$Configuration = "Release",
@@ -181,4 +181,4 @@ if (!(Test-Path $CAKE_EXE)) {
181181
# Start Cake
182182
Write-Host "Running build script..."
183183
Invoke-Expression "& `"$CAKE_EXE`" `"$Script`" -target=`"$Target`" -configuration=`"$Configuration`" -verbosity=`"$Verbosity`" $UseMono $UseDryRun $UseExperimental $ScriptArgs"
184-
exit $LASTEXITCODE
184+
exit $LASTEXITCODE

build.sh

100644100755
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ NUGET_EXE=$TOOLS_DIR/nuget.exe
1111
CAKE_EXE=$TOOLS_DIR/Cake/Cake.exe
1212

1313
# Define default arguments.
14-
SCRIPT="setup.cake"
14+
SCRIPT="recipe.cake"
1515
TARGET="Default"
1616
CONFIGURATION="Release"
1717
VERBOSITY="verbose"

demos/build/analyze/custom-issue.cake

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,8 @@ Task("Create-CustomIssues")
77
"Something went wrong",
88
"MyCakeScript",
99
"My Cake Script")
10+
.WithMessageInHtmlFormat("Something went <b>wrong</b>")
11+
.WithMessageInMarkdownFormat("Something went **wrong**")
1012
.InFile("myfile.txt", 42)
1113
.WithPriority(IssuePriority.Warning)
1214
.Create()

demos/build/read-issues/read-issues.cake

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -3,12 +3,6 @@ Task("Read-Issues")
33
.IsDependentOn("Analyze")
44
.Does<BuildData>(data =>
55
{
6-
var settings =
7-
new ReadIssuesSettings(data.RepoRootFolder)
8-
{
9-
Format = IssueCommentFormat.Html
10-
};
11-
126
data.Issues.AddRange(ReadIssues(
137
new List<IIssueProvider>
148
{
@@ -21,7 +15,7 @@ Task("Read-Issues")
2115
data.MarkdownLintLogFilePath,
2216
MarkdownlintCliLogFileFormat)
2317
},
24-
settings));
18+
data.RepoRootFolder));
2519

2620
Information("{0} issues are found.", data.Issues.Count());
2721
});

docs/examples/custom-template.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,7 @@ Task("Create-IssueReport").Does(() =>
8686
<tr>
8787
<td>@issue.AffectedFileRelativePath</td>
8888
<td>@issue.Line</td>
89-
<td>@issue.Message</td>
89+
<td>@issue.MessageText</td>
9090
<td>@issue.Priority</td>
9191
<td>@issue.Rule</td>
9292
<td>@issue.RuleUrl</td>

docs/features.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ The [Cake.Issues.Reporting.Generic addin] provides the following features:
88
* Creates reports in any text based format like HTML or Markdown.
99
* Provides out of the box templates
1010
* Possibility to use custom templates using Razor
11-
* File linking support for different hosting providers (e.g. [GitHub], [Azure DevOps / Team Foundation Server])
11+
* File linking support for different hosting providers (e.g. [GitHub], [Azure DevOps])
1212

1313
:::{.alert .alert-info}
1414
See [Template Gallery] for a list of available out of the box and 3rd party templates.
@@ -17,4 +17,4 @@ See [Template Gallery] for a list of available out of the box and 3rd party temp
1717
[Cake.Issues.Reporting.Generic addin]: https://www.nuget.org/packages/Cake.Issues.Reporting.Generic
1818
[Template Gallery]: templates/
1919
[GitHub]: ../../../api/Cake.Issues.Reporting.Generic/GenericIssueReportFormatAliases/025FE825
20-
[Azure DevOps / Team Foundation Server]: ../../../api/Cake.Issues.Reporting.Generic/GenericIssueReportFormatAliases/61E51241
20+
[Azure DevOps]: ../../../api/Cake.Issues.Reporting.Generic/GenericIssueReportFormatAliases/61E51241

docs/templates/htmldatatable-demo-default.html

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -501,6 +501,17 @@ <h2>markdownlint</h2>
501501
</td>
502502
<td>Trailing spaces [Expected: 0 or 2; Actual: 1]</td>
503503
</tr>
504+
<tr>
505+
<td>Warning</td>
506+
<td></td>
507+
<td>docs</td>
508+
<td>index.md</td>
509+
<td>7</td>
510+
<td>
511+
<a href="https://github.com/DavidAnson/markdownlint/blob/master/doc/Rules.md#md047" target="_blank">MD047</a>
512+
</td>
513+
<td>Files should end with a single newline character</td>
514+
</tr>
504515
</tbody>
505516
</table>
506517
<script type="text/javascript">

0 commit comments

Comments
 (0)