add script executor

also added a postcompile script to each project to place the outputs in the right folder

fixes #237
This commit is contained in:
Andrew Stanton-Nurse 2015-11-17 18:02:08 -08:00
parent 5d195c8eea
commit 04624ff5d1
28 changed files with 807 additions and 183 deletions

View file

@ -170,6 +170,12 @@ namespace Microsoft.DotNet.Cli.Utils
_stdErrCapture?.GetStringBuilder()?.ToString());
}
public Command WorkingDirectory(string projectDirectory)
{
_process.StartInfo.WorkingDirectory = projectDirectory;
return this;
}
public Command EnvironmentVariable(string name, string value)
{
_process.StartInfo.Environment[name] = value;