mirror of
https://github.com/aljazceru/btcpayserver.git
synced 2026-02-06 06:44:40 +01:00
Fix vs adding repo as submodule
This commit is contained in:
@@ -47,6 +47,12 @@ namespace BTCPayServer.Tests
|
||||
launcher.PopDirectory();
|
||||
launcher.Run("git", "pull");
|
||||
launcher.Run("git", "checkout master");
|
||||
try
|
||||
{
|
||||
//Need to do that or VS insist in adding this repo as submodules :/
|
||||
Utils.DeleteDirectory(Path.GetFullPath(Path.Combine(launcher.CurrentDirectory, "..", ".git")));
|
||||
}
|
||||
catch { }
|
||||
|
||||
launcher.Run("dotnet", "build /p:Configuration=Release");
|
||||
Assert.True(launcher.GoTo(new[] { "bin", "Release", "netcoreapp2.0" }), "Could not build NBXplorer");
|
||||
|
||||
Reference in New Issue
Block a user