示例#1
0
 public static string GetExecutableArgs(string args)
 {
     if (RuntimeHelper.IsCoreClr())
     {
         args = $"{Path.Combine(GetExeDirectory(), "gitversion.dll")} {args}";
     }
     return(args);
 }
示例#2
0
 public static string GetExecutable()
 {
     return(RuntimeHelper.IsCoreClr() ? "dotnet" : Path.Combine(GetExeDirectory(), "gitversion.exe"));
 }