Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Core: new toolchain implementation with dnx451 code reuse
- Loading branch information
1 parent
ab8b265
commit 9e13722
Showing
9 changed files
with
74 additions
and
26 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,15 +1,20 @@ | ||
using BenchmarkDotNet.Toolchains.Classic; | ||
using BenchmarkDotNet.Toolchains.Dnx; | ||
using BenchmarkDotNet.Toolchains.DotNetCli; | ||
|
||
namespace BenchmarkDotNet.Toolchains.Core | ||
{ | ||
public class CoreToolchain : Toolchain | ||
{ | ||
private const string TargetFrameworkMoniker = "dnxcore50"; // todo: when dnx gets replaced in VS with dotnet cli replace this name with fancy dotnet5.4 name | ||
|
||
public static readonly IToolchain Instance = new CoreToolchain(); | ||
|
||
private CoreToolchain() : base("Core", new DnxGenerator(), new DnxBuilder(), new ClassicExecutor()) | ||
private CoreToolchain() | ||
: base("Core", | ||
new DotNetCliGenerator(TargetFrameworkMoniker), | ||
new DotNetCliBuilder(TargetFrameworkMoniker), | ||
new ClassicExecutor()) | ||
{ | ||
// todo: implement the toolchain | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters