Small fixes
- Change color of executing command - Fix overwrite in publish
This commit is contained in:
parent
063eb45f8b
commit
d42b38d8ff
2 changed files with 2 additions and 2 deletions
|
@ -130,7 +130,7 @@ namespace Microsoft.DotNet.Cli.Utils
|
||||||
|
|
||||||
#if DEBUG
|
#if DEBUG
|
||||||
var sw = Stopwatch.StartNew();
|
var sw = Stopwatch.StartNew();
|
||||||
Reporter.Output.WriteLine($"> {_process.StartInfo.FileName} {_process.StartInfo.Arguments}".Green().Bold());
|
Reporter.Output.WriteLine($"> {_process.StartInfo.FileName} {_process.StartInfo.Arguments}".White());
|
||||||
#endif
|
#endif
|
||||||
_process.Start();
|
_process.Start();
|
||||||
_process.BeginOutputReadLine();
|
_process.BeginOutputReadLine();
|
||||||
|
|
|
@ -189,7 +189,7 @@ exec ""$DIR/corerun"" ""$DIR/{context.ProjectFile.Name}.exe"" $*";
|
||||||
.GetAwaiter()
|
.GetAwaiter()
|
||||||
.GetResult();
|
.GetResult();
|
||||||
|
|
||||||
File.Copy(outputDll, Path.ChangeExtension(outputDll, ".exe"));
|
File.Copy(outputDll, Path.ChangeExtension(outputDll, ".exe"), overwrite: true);
|
||||||
File.Delete(outputDll);
|
File.Delete(outputDll);
|
||||||
|
|
||||||
return 0;
|
return 0;
|
||||||
|
|
Loading…
Add table
Reference in a new issue