.NET Core and xUnit cleanup for v0.9 #332
Conversation
BernieWhite
commented
Dec 29, 2017
|
|
nice, should we include a change to turn warnings into errors to avoid regressions in warnings in the future? |
| @@ -0,0 +1,3 @@ | |||
| using System.Runtime.CompilerServices; | |||
|
|
|||
| [assembly: InternalsVisibleToAttribute("Markdown.MAML.Test")] | |||
vors
Dec 29, 2017
Collaborator
nit: new line at the end of the file
nit: new line at the end of the file
BernieWhite
Dec 29, 2017
Author
Contributor
@vors I don't see a new line at the end of the file, and can't see it in the commit, so I'm going to assume you mean line 2.
@vors I don't see a new line at the end of the file, and can't see it in the commit, so I'm going to assume you mean line 2.
vors
Dec 29, 2017
Collaborator
nope, I mean the end of the file, see https://stackoverflow.com/questions/5813311/no-newline-at-end-of-file
Git and GitHub are not super happy when dealing with files that doesn't have this extra new line (same goes for C/C++ compilers)
nope, I mean the end of the file, see https://stackoverflow.com/questions/5813311/no-newline-at-end-of-file
Git and GitHub are not super happy when dealing with files that doesn't have this extra new line (same goes for C/C++ compilers)
vors
Dec 29, 2017
Collaborator
Github uses this icon with a red arrow and crossed circle to mark this problems
Github uses this icon with a red arrow and crossed circle to mark this problems
BernieWhite
Dec 30, 2017
Author
Contributor
Done
Done
|
it's good to be merged as is, let me know if you want to merge it or hold for comments. |
|
Yes we should change warnings to errors. I left one warning about an unassigned variable. It been bugging me so I really should fit it. I'll fix and re-push. |
| @@ -16,4 +20,4 @@ | |||
| <ItemGroup> | |||
| <ProjectReference Include="..\..\src\Markdown.MAML\Markdown.MAML.csproj" /> | |||
| </ItemGroup> | |||
| </Project> | |||
| </Project> | |||
vors
Dec 29, 2017
Collaborator
same: new line at the end of the file
same: new line at the end of the file
| <ItemGroup Condition=" '$(TargetFramework)' == 'netstandard1.6' "> | ||
| <PackageReference Include="System.Collections.NonGeneric" Version="4.3.0" /> | ||
| </ItemGroup> | ||
| <ItemGroup> | ||
| <PackageReference Include="YamlDotNet" Version="4.2.3" /> | ||
| </ItemGroup> | ||
| </Project> | ||
| </Project> |
vors
Dec 29, 2017
Collaborator
same: new line
same: new line
| New-MarkdownHelp -Command New-MyCommandHelp | ||
| ``` | ||
|
|
||
| Under the hood, the following tranformations happen: | ||
|
|
||
| [MAML XML file] --> [Help Object + Get-Command object] --> [MAML Model] --> [Markdown file] | ||
|
|
||
| # Making a new release | ||
| ## Making a new release |
vors
Dec 29, 2017
Collaborator
Why changing header level? I think release section is outside of Contributing to platyPS
Why changing header level? I think release section is outside of Contributing to platyPS
BernieWhite
Dec 29, 2017
Author
Contributor
Shouldn't there be only one level one header at the top of the document? Releasing is still contributing, but will change it if you like.
Shouldn't there be only one level one header at the top of the document? Releasing is still contributing, but will change it if you like.
vors
Jan 1, 2018
Collaborator
No, it's a platyPS specific things about one header, markdown in general doesn't care
No, it's a platyPS specific things about one header, markdown in general doesn't care
| @@ -58,6 +58,7 @@ public MarkdownParser(Action<int, int> progressCallback, Action<string> infoCall | |||
| public MarkdownParser(Action<int, int> progressCallback, int reportByteCount) | |||
| { | |||
| _progressCallback = progressCallback; | |||
| _reportByteCount = reportByteCount; | |||
vors
Dec 29, 2017
Collaborator
good catch
good catch
|
@vors Should be everything. |