Various improvements to building nethost

This commit is contained in:
Wojtek Figat
2024-01-12 13:44:50 +01:00
parent 5b3e7f0bf8
commit 9a70f698b9
4 changed files with 9 additions and 5 deletions

View File

@@ -140,11 +140,8 @@ namespace Flax.Deps
if (submodules)
Utilities.Run("git", "submodule update --init --recursive", null, null, Utilities.RunOptions.DefaultTool);
}
if (commit != null)
{
Utilities.Run("git", string.Format("reset --hard {0}", commit), null, null, Utilities.RunOptions.DefaultTool);
}
}
/// <summary>