Skip to content
This repository has been archived by the owner on Dec 18, 2017. It is now read-only.

Indicate the beginning of executed scripts #1942

Merged
merged 1 commit into from
May 23, 2015
Merged

Conversation

ChengTian
Copy link
Contributor

parent #1764

@balachir @muratg @davidfowl

Sample output:
capture

@muratg
Copy link
Contributor

muratg commented May 23, 2015

Looks good, though I wonder "in project.json" part is useful or not. I assume there won't be other DNX pieces which will execute scripts. I think we can check-in like this, and revisit later.

@@ -23,6 +30,8 @@ public bool Execute(Runtime.Project project, string scriptName, Func<string, str
return true;
}

Report.WriteLine($"Executing script '{scriptName}' in {Runtime.Project.ProjectFileName}");
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Report can be null. Need to use Report?.WriteLine(...)

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good point

@ChengTian ChengTian merged commit 0d033fd into dev May 23, 2015
@ChengTian ChengTian deleted the wei/show-executed-scripts branch May 23, 2015 00:38
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants