Skip to content

Commit

Permalink
Housekeeping: rename to Pharmacist
Browse files Browse the repository at this point in the history
  • Loading branch information
glennawatson committed May 2, 2019
1 parent 755e969 commit 47cff50
Show file tree
Hide file tree
Showing 62 changed files with 338 additions and 320 deletions.
6 changes: 3 additions & 3 deletions Directory.Build.props
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,12 @@
<Authors>.NET Foundation and Contributors</Authors>
<Copyright>Copyright (c) .NET Foundation and Contributors</Copyright>
<PackageLicenseExpression>MIT</PackageLicenseExpression>
<PackageProjectUrl>https://github.com/reactiveui/reactiveui.eventbuilder</PackageProjectUrl>
<PackageProjectUrl>https://github.com/reactiveui/pharmacist</PackageProjectUrl>
<PackageIconUrl>https://github.com/reactiveui/styleguide/blob/master/logo/main.png?raw=true</PackageIconUrl>
<Owners>xpaulbettsx;ghuntley</Owners>
<PackageTags>reactive extensions;async;observable;LINQ;netstandard</PackageTags>
<PackageReleaseNotes>https://github.com/reactiveui/reactiveui.eventbuilder/releases</PackageReleaseNotes>
<RepositoryUrl>https://github.com/reactiveui/reactiveui.eventbuilder</RepositoryUrl>
<PackageReleaseNotes>https://github.com/reactiveui/pharmacist/releases</PackageReleaseNotes>
<RepositoryUrl>https://github.com/reactiveui/pharmacist</RepositoryUrl>
<RepositoryType>git</RepositoryType>
<GenerateDocumentationFile>true</GenerateDocumentationFile>
</PropertyGroup>
Expand Down
20 changes: 5 additions & 15 deletions build.cake
Original file line number Diff line number Diff line change
Expand Up @@ -5,29 +5,19 @@ Environment.SetVariableNames();
// Whitelisted Packages
var packageWhitelist = new[]
{
MakeAbsolute(File("./src/Splat/Splat.csproj")),
MakeAbsolute(File("./src/Splat.Autofac/Splat.Autofac.csproj")),
MakeAbsolute(File("./src/Splat.DryIoc/Splat.DryIoc.csproj")),
MakeAbsolute(File("./src/Splat.Ninject/Splat.Ninject.csproj")),
MakeAbsolute(File("./src/Splat.SimpleInjector/Splat.SimpleInjector.csproj")),
MakeAbsolute(File("./src/Splat.Log4Net/Splat.Log4Net.csproj")),
MakeAbsolute(File("./src/Splat.NLog/Splat.NLog.csproj")),
MakeAbsolute(File("./src/Splat.Serilog/Splat.Serilog.csproj")),
MakeAbsolute(File("./src/Splat.Microsoft.Extensions.Logging/Splat.Microsoft.Extensions.Logging.csproj")),
MakeAbsolute(File("./src/Pharmacist.Console/Pharmacist.Console.csproj")),
MakeAbsolute(File("./src/Pharmacist.Core/Pharmacist.Core.csproj")),
MakeAbsolute(File("./src/Pharmacist.MsBuildTask/Pharmacist.MsBuildTask.csproj")),
};

var packageTestWhitelist = new[]
{
MakeAbsolute(File("./src/Splat.Tests/Splat.Tests.csproj")),
MakeAbsolute(File("./src/Splat.Autofac.Tests/Splat.Autofac.Tests.csproj")),
MakeAbsolute(File("./src/Splat.DryIoc.Tests/Splat.DryIoc.Tests.csproj")),
MakeAbsolute(File("./src/Splat.Ninject.Tests/Splat.Ninject.Tests.csproj")),
MakeAbsolute(File("./src/Splat.SimpleInjector.Tests/Splat.SimpleInjector.Tests.csproj")),
MakeAbsolute(File("./src/Pharmacist.Tests/Pharmacist.Tests.csproj")),
};

BuildParameters.SetParameters(context: Context,
buildSystem: BuildSystem,
title: "ReactiveUI.EventBuilder",
title: "Pharmacist",
whitelistPackages: packageWhitelist,
whitelistTestPackages: packageTestWhitelist,
artifactsDirectory: "./artifacts",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,17 +3,11 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for full license information.

using System;
using System.Collections.Generic;
using System.Text;
using BenchmarkDotNet.Attributes;
using EventBuilder.Core.Reflection;
using Microsoft.CodeAnalysis.CSharp.Syntax;

using static EventBuilder.Core.Reflection.XmlSyntaxFactory;
using static Microsoft.CodeAnalysis.CSharp.SyntaxFactory;
using Pharmacist.Core.Reflection;

namespace EventBuilder.Benchmarks
namespace Pharmacist.Benchmarks
{
[ClrJob]
[CoreJob]
Expand All @@ -25,7 +19,7 @@ public class CommentGenerator
private static readonly string[] _testValuesTypes = { "System.Blah1", "System.Blah2" };

/// <summary>
/// A benchmark which tests the <see cref="XmlSyntaxFactory.GenerateSummarySeeAlsoComment(string, string)"/> method.
/// A benchmark which tests the <see cref="XmlSyntaxFactory.GenerateSummarySeeAlsoComment(string,string)"/> method.
/// </summary>
[Benchmark]
public void GenerateSummarySeeAlsoCommentBenchmark()
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@
<Project>
<Import Project="$(MSBuildThisFileDirectory)..\..\..\Directory.build.props" />

<PropertyGroup>
<CodeAnalysisRuleSet></CodeAnalysisRuleSet>
</PropertyGroup>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
</ItemGroup>

<ItemGroup>
<ProjectReference Include="..\EventBuilder.Core\EventBuilder.Core.csproj" />
<ProjectReference Include="..\Pharmacist.Core\Pharmacist.Core.csproj" />
</ItemGroup>

</Project>
Original file line number Diff line number Diff line change
Expand Up @@ -4,15 +4,15 @@
// See the LICENSE file in the project root for full license information.

using System;
using System.Diagnostics.CodeAnalysis;
using System.IO;
using System.Linq;
using System.Threading.Tasks;

using BenchmarkDotNet.Attributes;
using BenchmarkDotNet.Order;
using EventBuilder.Core;

namespace EventBuilder.Benchmarks
using Pharmacist.Core;

namespace Pharmacist.Benchmarks
{
/// <summary>
/// Benchmarks for the NavigationStack and the RoutingState objects.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,14 +3,9 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for full license information.

using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using BenchmarkDotNet.Running;

namespace ReactiveUI.Benchmarks
namespace Pharmacist.Benchmarks
{
/// <summary>
/// Class which hosts the main entry point into the application.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,9 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for full license information.

using System;
using System.Collections.Generic;
using System.Text;
using CommandLine;

namespace EventBuilder.CommandOptions
namespace Pharmacist.Console.CommandOptions
{
/// <summary>
/// A base class for commonly shared options.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,11 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for full license information.

using System;
using System.Collections.Generic;
using System.Text;

using CommandLine;

namespace EventBuilder.CommandOptions
namespace Pharmacist.Console.CommandOptions
{
/// <summary>
/// A options class that represent when the user wants to generate from their own custom list of assemblies and search directories.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

using CommandLine;

namespace EventBuilder.CommandOptions
namespace Pharmacist.Console.CommandOptions
{
/// <summary>
/// Command line options for working in a NuGet package mode.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,13 +3,13 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for full license information.

using System;
using System.Collections.Generic;
using System.Text;

using CommandLine;
using EventBuilder.Core;

namespace EventBuilder.CommandOptions
using Pharmacist.Core;

namespace Pharmacist.Console.CommandOptions
{
/// <summary>
/// Command line options for the platform based generation.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for full license information.

namespace EventBuilder.Console
namespace Pharmacist.Console
{
/// <summary>
/// The exit/return code (aka %ERRORLEVEL%) on application exit.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,7 @@
<PropertyGroup>
<OutputType>Exe</OutputType>
<TargetFramework>netcoreapp2.2</TargetFramework>
<AssemblyName>EventBuilder</AssemblyName>
<RootNamespace>EventBuilder</RootNamespace>
<AssemblyName>Pharmacist</AssemblyName>
<LangVersion>latest</LangVersion>
<PackAsTool>true</PackAsTool>
</PropertyGroup>
Expand All @@ -16,6 +15,6 @@
</ItemGroup>

<ItemGroup>
<ProjectReference Include="..\EventBuilder.Core\EventBuilder.Core.csproj" />
<ProjectReference Include="..\Pharmacist.Core\Pharmacist.Core.csproj" />
</ItemGroup>
</Project>
Original file line number Diff line number Diff line change
Expand Up @@ -6,22 +6,24 @@
using System;
using System.Diagnostics;
using System.IO;
using System.Text;
using System.Threading.Tasks;

using CommandLine;
using CommandLine.Text;
using EventBuilder.CommandOptions;
using EventBuilder.Core;
using EventBuilder.Core.NuGet;

using NuGet.Packaging.Core;
using NuGet.Versioning;

using Pharmacist.Console.CommandOptions;
using Pharmacist.Core;
using Pharmacist.Core.NuGet;

using Serilog;
using Serilog.Events;

using Parser = CommandLine.Parser;

namespace EventBuilder.Console
namespace Pharmacist.Console
{
internal static class Program
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for full license information.

namespace EventBuilder.Core
namespace Pharmacist.Core
{
/// <summary>
/// The event builder platform.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,9 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for full license information.

using System;
using System.Collections.Generic;
using System.Text;
using System.Threading.Tasks;

namespace EventBuilder.Core.Extractors
namespace Pharmacist.Core.Extractors
{
/// <summary>
/// Extracts information from a platform, assembly or nuget package.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,17 +3,16 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for full license information.

using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;

using EventBuilder.Core.NuGet;

using NuGet.Frameworks;
using NuGet.Packaging.Core;

namespace EventBuilder.Core.Extractors
using Pharmacist.Core.NuGet;

namespace Pharmacist.Core.Extractors
{
/// <summary>
/// A extractor which will extract assembly information from a NuGet package.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
using System.Linq;
using System.Threading.Tasks;

namespace EventBuilder.Core.Extractors.PlatformExtractors
namespace Pharmacist.Core.Extractors.PlatformExtractors
{
/// <inheritdoc />
/// <summary>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
using System.Collections.Generic;
using System.Threading.Tasks;

namespace EventBuilder.Core.Extractors.PlatformExtractors
namespace Pharmacist.Core.Extractors.PlatformExtractors
{
/// <summary>
/// Base platform.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,9 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for full license information.

using System.Collections.Generic;
using System.Threading.Tasks;

namespace EventBuilder.Core.Extractors.PlatformExtractors
namespace Pharmacist.Core.Extractors.PlatformExtractors
{
/// <summary>
/// Interface representing a platform assemblies and events.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
using System.Linq;
using System.Threading.Tasks;

namespace EventBuilder.Core.Extractors.PlatformExtractors
namespace Pharmacist.Core.Extractors.PlatformExtractors
{
/// <summary>
/// Mac platform assemblies and events.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
using System;
using System.Threading.Tasks;

namespace EventBuilder.Core.Extractors.PlatformExtractors
namespace Pharmacist.Core.Extractors.PlatformExtractors
{
/// <summary>
/// UWP platform assemblies and events.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
using System;
using System.Threading.Tasks;

namespace EventBuilder.Core.Extractors.PlatformExtractors
namespace Pharmacist.Core.Extractors.PlatformExtractors
{
/// <summary>
/// WPF platform assemblies and events.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
using System;
using System.Threading.Tasks;

namespace EventBuilder.Core.Extractors.PlatformExtractors
namespace Pharmacist.Core.Extractors.PlatformExtractors
{
/// <summary>
/// Win Forms platform assemblies and events.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
using System.Linq;
using System.Threading.Tasks;

namespace EventBuilder.Core.Extractors.PlatformExtractors
namespace Pharmacist.Core.Extractors.PlatformExtractors
{
/// <inheritdoc />
/// <summary>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
using System.Linq;
using System.Threading.Tasks;

namespace EventBuilder.Core.Extractors.PlatformExtractors
namespace Pharmacist.Core.Extractors.PlatformExtractors
{
/// <summary>
/// TV OS platform assemblies and events.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,13 +6,12 @@
using System;
using System.Collections.Generic;
using System.Reflection;
using System.Text;

using NuGet.Frameworks;
using NuGet.Packaging.Core;
using NuGet.Versioning;

namespace EventBuilder.Core.NuGet
namespace Pharmacist.Core.NuGet
{
/// <summary>
/// Helper class which will convert framework identifier strings to their nuget framework.
Expand Down
Loading

0 comments on commit 47cff50

Please sign in to comment.