Skip to content
This repository has been archived by the owner on Dec 25, 2023. It is now read-only.

Commit

Permalink
Bump Cake.Issues from 0.9.0-beta0002 to 0.9.0-beta0003 in /src (#184)
Browse files Browse the repository at this point in the history
* Bump Cake.Issues from 0.9.0-beta0002 to 0.9.0-beta0003 in /src

Bumps [Cake.Issues](https://github.com/cake-contrib/Cake.Issues) from 0.9.0-beta0002 to 0.9.0-beta0003.
- [Release notes](https://github.com/cake-contrib/Cake.Issues/releases)
- [Changelog](https://github.com/cake-contrib/Cake.Issues/blob/develop/GitReleaseManager.yaml)
- [Commits](https://github.com/cake-contrib/Cake.Issues/commits)

Signed-off-by: dependabot-preview[bot] <[email protected]>

* Bump Cake.Issues.Testing from 0.9.0-beta0002 to 0.9.0-beta0003 in /src

Bumps [Cake.Issues.Testing](https://github.com/cake-contrib/Cake.Issues) from 0.9.0-beta0002 to 0.9.0-beta0003.
- [Release notes](https://github.com/cake-contrib/Cake.Issues/releases)
- [Changelog](https://github.com/cake-contrib/Cake.Issues/blob/develop/GitReleaseManager.yaml)
- [Commits](https://github.com/cake-contrib/Cake.Issues/commits)

Signed-off-by: dependabot-preview[bot] <[email protected]>

* Update code to Cake.Issues 0.9.0 Beta 3

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
Co-authored-by: Pascal Berger <[email protected]>
  • Loading branch information
dependabot-preview[bot] and pascalberger authored Jul 31, 2020
1 parent 390650b commit 5bd9073
Show file tree
Hide file tree
Showing 5 changed files with 9 additions and 9 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -43,8 +43,8 @@
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="16.6.1" />
<PackageReference Include="Cake.Core" Version="0.33.0" />
<PackageReference Include="Cake.Testing" Version="0.33.0" />
<PackageReference Include="Cake.Issues" Version="0.9.0-beta0002" />
<PackageReference Include="Cake.Issues.Testing" Version="0.9.0-beta0002" />
<PackageReference Include="Cake.Issues" Version="0.9.0-beta0003" />
<PackageReference Include="Cake.Issues.Testing" Version="0.9.0-beta0003" />
<PackageReference Include="Shouldly" Version="3.0.2" />
<PackageReference Include="StyleCop.Analyzers" Version="1.1.118" />
<PackageReference Include="xunit" Version="2.4.1" />
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ public void Should_Read_Full_Log_Correct()
// Given
var fixture = new MsBuildIssuesProviderFixture<BinaryLogFileFormat>("FullLog.binlog")
{
RepositorySettings = new RepositorySettings(@"C:\projects\cake-issues-demo\"),
ReadIssuesSettings = new ReadIssuesSettings(@"C:\projects\cake-issues-demo\"),
};

// When
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -374,14 +374,14 @@ public void Should_Read_Issue_With_Absolute_FileName_And_Without_Task()
{
var fixture = new MsBuildIssuesProviderFixture<XmlFileLoggerLogFileFormat>("IssueWithAbsoluteFileNameAndWithoutTask.xml");

var repoRootCreated = !Directory.Exists(fixture.RepositorySettings.RepositoryRoot.FullPath);
Directory.CreateDirectory(fixture.RepositorySettings.RepositoryRoot.FullPath);
var repoRootCreated = !Directory.Exists(fixture.ReadIssuesSettings.RepositoryRoot.FullPath);
Directory.CreateDirectory(fixture.ReadIssuesSettings.RepositoryRoot.FullPath);
try
{
var oldWorkingDirectory = Directory.GetCurrentDirectory();
try
{
Directory.SetCurrentDirectory(fixture.RepositorySettings.RepositoryRoot.FullPath);
Directory.SetCurrentDirectory(fixture.ReadIssuesSettings.RepositoryRoot.FullPath);

// When
var issues = fixture.ReadIssues().ToList();
Expand All @@ -398,7 +398,7 @@ public void Should_Read_Issue_With_Absolute_FileName_And_Without_Task()
{
if (repoRootCreated)
{
Directory.Delete(fixture.RepositorySettings.RepositoryRoot.FullPath);
Directory.Delete(fixture.ReadIssuesSettings.RepositoryRoot.FullPath);
}
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ internal class MsBuildIssuesProviderFixture<T>
public MsBuildIssuesProviderFixture(string fileResourceName)
: base(fileResourceName)
{
this.RepositorySettings = new RepositorySettings(@"c:\Source\Cake.Issues.MsBuild");
this.ReadIssuesSettings = new ReadIssuesSettings(@"c:\Source\Cake.Issues.MsBuild");
}

protected override string FileResourceNamespace => "Cake.Issues.MsBuild.Tests.Testfiles." + typeof(T).Name + ".";
Expand Down
2 changes: 1 addition & 1 deletion src/Cake.Issues.MsBuild/Cake.Issues.MsBuild.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@

<ItemGroup>
<PackageReference Include="Cake.Core" Version="0.33.0" />
<PackageReference Include="Cake.Issues" Version="0.9.0-beta0002" />
<PackageReference Include="Cake.Issues" Version="0.9.0-beta0003" />
<PackageReference Include="Microsoft.CodeAnalysis.FxCopAnalyzers" Version="3.0.0" />
<PackageReference Include="MSBuild.StructuredLogger" Version="2.0.174" />
<PackageReference Include="StyleCop.Analyzers" Version="1.1.118" />
Expand Down

0 comments on commit 5bd9073

Please sign in to comment.