
Adding a ICommand interface and factory that we can use to mock Commands and avoid actually running them in unit tests.
12 lines
376 B
C#
12 lines
376 B
C#
// Copyright (c) .NET Foundation and contributors. All rights reserved.
|
|
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
|
|
|
|
using Microsoft.DotNet.ProjectModel;
|
|
|
|
namespace Microsoft.DotNet.Tools.Compiler
|
|
{
|
|
public interface ICompiler
|
|
{
|
|
bool Compile(ProjectContext context, CompilerCommandApp args);
|
|
}
|
|
}
|