Add tests for "half-portable" scenario
This commit is contained in:
parent
2d3a1fd177
commit
14770ae5ba
15 changed files with 200 additions and 53 deletions
|
@ -7,6 +7,7 @@ using Microsoft.Extensions.PlatformAbstractions;
|
|||
using System.IO;
|
||||
using System.Linq;
|
||||
using System.Runtime.InteropServices;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace Microsoft.DotNet.Tools.Test.Utilities
|
||||
{
|
||||
|
@ -42,6 +43,12 @@ namespace Microsoft.DotNet.Tools.Test.Utilities
|
|||
_buidBasePathDirectory = buildBasePath;
|
||||
}
|
||||
|
||||
public override Task<CommandResult> ExecuteAsync(string args = "")
|
||||
{
|
||||
args = $"publish {BuildArgs()} {args}";
|
||||
return base.ExecuteAsync(args);
|
||||
}
|
||||
|
||||
public override CommandResult Execute(string args = "")
|
||||
{
|
||||
args = $"publish {BuildArgs()} {args}";
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue