4e1ec4c159
Adding a ICommand interface and factory that we can use to mock Commands and avoid actually running them in unit tests.
13 lines
450 B
C#
13 lines
450 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 System.Collections.Generic;
|
|
using Microsoft.DotNet.ProjectModel;
|
|
|
|
namespace Microsoft.DotNet.Tools.Compiler
|
|
{
|
|
public interface IScriptRunner
|
|
{
|
|
void RunScripts(ProjectContext context, string name, Dictionary<string, string> contextVariables);
|
|
}
|
|
}
|