Updated Readme

This commit is contained in:
Kiran Challa 2017-06-06 10:39:13 -07:00 committed by GitHub
parent 0cfecf4cb2
commit b328ce48ad
1 changed files with 12 additions and 9 deletions

View File

@ -34,14 +34,17 @@ repositories. The subfolders are built in dependency order.
## Verifying cross repo changes ## Verifying cross repo changes
You can use the Universe repo to preemptively verify and prepare follow ups for your breaking changes: You can use the Universe repo to preemptively verify and prepare follow ups for your breaking changes:
- Clone the Universe repo https://github.com/aspnet/Universe - Clone the Universe repo https://github.com/aspnet/Universe
- Add a branch attribute to the build\Repositories.props file to point to your branch in the repo youre trying to verify. For instance, - Add a branch attribute to the `build\Repositories.props` file to point to your branch in the repo youre trying to verify. For instance,
`<Repository Include="HtmlAbstractions" Commit="" />` `<Repository Include="HtmlAbstractions" Commit="" />`
becomes becomes
`<Repository Include="HtmlAbstractions" Commit="" Branch=”prkrishn/breaking-changes” />` `<Repository Include="HtmlAbstractions" Commit="" Branch="prkrishn/breaking-changes" />`
- Run from the root of Universe, **Note**: This branch should have been pushed to the server already.
- Run from the root of Universe
`build.cmd /p:CompileOnly=true /p:ShallowClone=true /p:BuildGraphOf=HtmlAbstractions` `build.cmd /p:CompileOnly=true /p:ShallowClone=true /p:BuildGraphOf=HtmlAbstractions`
This should clone and compile all the repos against your breaking changes branch. If youd like to additionally run tests in all your dependencies (this will take a while), remove the first parameter:
This should clone and compile all the repos against your breaking changes branch. If youd like to additionally run tests in all your dependencies (this will take a while and also you could hit some flaky tests), remove the first parameter:
`build.cmd /p:ShallowClone=true /p:BuildGraphOf=HtmlAbstractions` `build.cmd /p:ShallowClone=true /p:BuildGraphOf=HtmlAbstractions`
The ShallowClone property speeds up git clone and is optional in both cases. The ShallowClone property speeds up git clone and is optional in both cases.