mirror of
https://github.com/Ellpeck/GameBundle.git
synced 2024-11-22 16:48:34 +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,
|
"isRoot": true,
|
||||||
"tools": {
|
"tools": {
|
||||||
"nulastudio.ncbeauty": {
|
"nulastudio.ncbeauty": {
|
||||||
"version": "1.2.9",
|
"version": "1.2.9.3",
|
||||||
"commands": [
|
"commands": [
|
||||||
"ncbeauty"
|
"ncbeauty"
|
||||||
]
|
]
|
||||||
|
|
|
@ -71,14 +71,9 @@ namespace GameBundle {
|
||||||
if (!options.SkipLib) {
|
if (!options.SkipLib) {
|
||||||
var excludes = $"\"{string.Join(";", options.ExcludedFiles)}\"";
|
var excludes = $"\"{string.Join(";", options.ExcludedFiles)}\"";
|
||||||
var log = options.Verbose ? "Detail" : "Error";
|
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)
|
if (beautyResult != 0)
|
||||||
return beautyResult;
|
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
|
// Rename build folder if named builds are enabled
|
||||||
|
|
Loading…
Reference in a new issue