mirror of
https://github.com/Ellpeck/GameBundle.git
synced 2024-11-14 04:59:10 +01:00
updated netcorebeauty
This commit is contained in:
parent
f4d160f285
commit
2e19daa047
2 changed files with 2 additions and 7 deletions
|
@ -3,7 +3,7 @@
|
|||
"isRoot": true,
|
||||
"tools": {
|
||||
"nulastudio.ncbeauty": {
|
||||
"version": "1.2.9",
|
||||
"version": "1.2.9.3",
|
||||
"commands": [
|
||||
"ncbeauty"
|
||||
]
|
||||
|
|
|
@ -71,14 +71,9 @@ namespace GameBundle {
|
|||
if (!options.SkipLib) {
|
||||
var excludes = $"\"{string.Join(";", options.ExcludedFiles)}\"";
|
||||
var log = options.Verbose ? "Detail" : "Error";
|
||||
var beautyResult = RunProcess(options, "dotnet", $"ncbeauty --loglevel={log} --force=True \"{buildDir.FullName}\" \"{options.LibFolder}\" {excludes}", AppDomain.CurrentDomain.BaseDirectory);
|
||||
var beautyResult = RunProcess(options, "dotnet", $"ncbeauty --loglevel={log} --force=True --noflag=True \"{buildDir.FullName}\" \"{options.LibFolder}\" {excludes}", AppDomain.CurrentDomain.BaseDirectory);
|
||||
if (beautyResult != 0)
|
||||
return beautyResult;
|
||||
|
||||
// Remove the beauty file since it's just a marker
|
||||
var beautyFile = new FileInfo(Path.Combine(buildDir.FullName, "NetCoreBeauty"));
|
||||
if (beautyFile.Exists)
|
||||
beautyFile.Delete();
|
||||
}
|
||||
|
||||
// Rename build folder if named builds are enabled
|
||||
|
|
Loading…
Reference in a new issue