Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Migrate F# FAKE v4 to v5 build system. #222

Merged
merged 4 commits into from
May 4, 2019
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
/Source/packages**
paket.lock
.fake
.store
.paket/paket.exe
/Source/.paket/**
__test
Expand Down
Binary file removed Source/.paket/paket.exe
Binary file not shown.
2 changes: 2 additions & 0 deletions Source/Bogus.Tests/Bogus.Tests.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -6,12 +6,14 @@
</PropertyGroup>

<ItemGroup>
<PackageReference Include="Appveyor.Testlogger" Version="2.0.0" />
<PackageReference Include="FluentAssertions" Version="4.19.4" />
<PackageReference Include="morelinq" Version="3.0.0" />
<PackageReference Include="Newtonsoft.Json" Version="11.0.2" />
<PackageReference Include="Rant" Version="3.0.530" />
<PackageReference Include="xunit" Version="2.3.1" />
<PackageReference Include="xunit.runner.visualstudio" Version="2.3.1" />
<PackageReference Include="XunitXml.TestLogger" Version="2.1.26" />
<PackageReference Include="Z.ExtensionMethods.WithTwoNamespace" Version="2.0.13" />
</ItemGroup>

Expand Down
10 changes: 6 additions & 4 deletions Source/Bogus.Tests/BsonTests.cs
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ public string Drink()
}
}

public class BsonTests : SeededTest
public class BsonTests : SeededTest, IDisposable
{
private readonly ITestOutputHelper console;

Expand All @@ -30,6 +30,11 @@ public BsonTests(ITestOutputHelper console)
this.console = console;
}

public void Dispose()
{
Database.ResetLocale("en");
}

[Fact]
public void can_add_new_key_to_database()
{
Expand Down Expand Up @@ -91,7 +96,6 @@ public void can_patch_an_existing_category()
}



private void PatchEnLocaleWithExtraStuff()
{
var patch = CreateExtraData();
Expand Down Expand Up @@ -128,8 +132,6 @@ private BObject CreateExtraData()
}
};
}


}

}
2 changes: 1 addition & 1 deletion Source/Bogus/Bogus.csproj
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<Project Sdk="Microsoft.NET.Sdk">
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<Description>A simple and sane data generator for populating objects that supports different locales. A delightful port of the famed faker.js and inspired by FluentValidation. Use Bogus to create UIs with fake data or seed databases. Get started by using Faker class or a DataSet directly.</Description>
<PackageReleaseNotes>
Expand Down
23 changes: 12 additions & 11 deletions Source/Bogus/Properties/AssemblyInfo.cs
Original file line number Diff line number Diff line change
@@ -1,17 +1,18 @@
// <auto-generated/>
// Auto-Generated by FAKE; do not edit
// <auto-generated/>
using System.Reflection;
using System.Runtime.CompilerServices;

[assembly: AssemblyTitleAttribute("Bogus Fake Data Generator for .NET")]
[assembly: AssemblyProductAttribute("Bogus")]
[assembly: AssemblyCompanyAttribute("Brian Chavez")]
[assembly: AssemblyCopyrightAttribute("Brian Chavez © 2015")]
[assembly: AssemblyVersionAttribute("0.0.0")]
[assembly: AssemblyFileVersionAttribute("0.0.0")]
[assembly: AssemblyInformationalVersionAttribute("0.0.0-localbuild built on 1/1/2015 12:00:00 AM")]
[assembly: AssemblyTrademarkAttribute("MIT License")]
[assembly: AssemblyDescriptionAttribute("https://github.com/bchavez/Bogus")]
[assembly: InternalsVisibleToAttribute("Bogus.Tests")]
[assembly: AssemblyTitle("Bogus Fake Data Generator for .NET")]
[assembly: AssemblyProduct("Bogus")]
[assembly: AssemblyCompany("Brian Chavez")]
[assembly: AssemblyCopyright("Brian Chavez © 2015")]
[assembly: AssemblyVersion("0.0.0")]
[assembly: AssemblyFileVersion("0.0.0")]
[assembly: AssemblyInformationalVersion("0.0.0-localbuild built on 1/1/2015 12:00:00 AM")]
[assembly: AssemblyTrademark("MIT License")]
[assembly: AssemblyDescription("https://github.com/bchavez/Bogus")]
[assembly: InternalsVisibleTo("Bogus.Tests")]
namespace System {
internal static class AssemblyVersionInformation {
internal const System.String AssemblyTitle = "Bogus Fake Data Generator for .NET";
Expand Down
Loading