Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Simplify Build for New Contributors #513

Merged
merged 7 commits into from
Jun 22, 2015

Conversation

carolynvs
Copy link
Member

The goal is that a new contributor can simply clone and execute build.cmd without any additional arguments or prerequisites. Eventually I would like to better match the new/proposed .NET project structure and this is a first step.

The biggest changes are:

  • Moved the build logic from PowerShell to MSBuild. The default target simply restores NuGet packages, builds and runs unit tests. The CI target which is run to verify pull requests also builds the documentation.
  • Split Sandcastle documentation into separate solution and distribute the custom SHFB NuGet package via the openstacknetsdk MyGet feed.

@@ -32,11 +32,11 @@
<!-- Runtime libraries -->
<file src="bin\v3.5\$Configuration$\openstacknet.dll" target="lib\net35"/>
<file src="bin\v3.5\$Configuration$\openstacknet.pdb" target="lib\net35"/>
<file src="..\..\docs\Api\v3.5\openstacknet.xml" target="lib\net35"/>
<file src="bin\v3.5\$Configuration$\openstacknet.xml" target="lib\net35"/>
Copy link
Contributor

Choose a reason for hiding this comment

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

This change will cause the NuGet package to not include XML documentation for methods in the SDK which use <inheritdoc/>.

Copy link
Member Author

Choose a reason for hiding this comment

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

Thanks, I wasn't aware that we were relying that deeply on Sandcastle with respect to the inline doc and assumed it was just for the openstack.net/docs site.

The goal is to simplify the contributor experience. A developer with
Visual Studio installed should be able to clone and execute build.cmd
(or build.sh) without additional flags and it should "just work".
* Move documentation projects into separate solution
* Use NuGet to download SHFB
* Host custom build of SHFB on myget.org openstacknetsdk feed
@carolynvs
Copy link
Member Author

Updated PR

  • Added back MSDN links
  • Go back to using Sandcastle transformed xml doc files so that <inheritdoc/> tags are replaced in the doc included in the NuGet packages

carolynvs added a commit that referenced this pull request Jun 22, 2015
Simplify Build for New Contributors
@carolynvs carolynvs merged commit f4639d3 into openstacknetsdk:master Jun 22, 2015
@DonSchenck
Copy link
Contributor

Looks good to me.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants