Small fixes

- Change color of executing command
- Fix overwrite in publish
This commit is contained in:
David Fowler 2015-10-20 03:07:21 -07:00
parent 063eb45f8b
commit d42b38d8ff
2 changed files with 2 additions and 2 deletions

View file

@ -130,7 +130,7 @@ namespace Microsoft.DotNet.Cli.Utils
#if DEBUG
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
_process.Start();
_process.BeginOutputReadLine();

View file

@ -189,7 +189,7 @@ exec ""$DIR/corerun"" ""$DIR/{context.ProjectFile.Name}.exe"" $*";
.GetAwaiter()
.GetResult();
File.Copy(outputDll, Path.ChangeExtension(outputDll, ".exe"));
File.Copy(outputDll, Path.ChangeExtension(outputDll, ".exe"), overwrite: true);
File.Delete(outputDll);
return 0;