-
Notifications
You must be signed in to change notification settings - Fork 243
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
Restore source dependencies feature (#185) #190
Conversation
src/BenchmarksServer/Startup.cs
Outdated
|
||
// Restore in each dir | ||
foreach (var dir in dirs) | ||
ProcessUtil.Run("dotnet", "restore /p:VersionSuffix=zzzzz-99999", workingDirectory: Path.Combine(path, benchmarksDir)); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The version suffix needs to be higher than whatever package versions we have in our feed. Hence this thing. I tried coming up with something whimsical but decided to go with this boring suffix 😛
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think this deserves a comment.
It makes me a bit uncomfortable to override the |
src/BenchmarksServer/Startup.cs
Outdated
|
||
// Restore in each dir | ||
foreach (var dir in dirs) | ||
ProcessUtil.Run("dotnet", "restore /p:VersionSuffix=zzzzz-99999", workingDirectory: Path.Combine(path, benchmarksDir)); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think this deserves a comment.
9dc67ab
to
9a805fe
Compare
Better alternative to #188. Uses
ProjectReference
and does not require intermediate builds.Thanks @dsplaisted for pointing out that
restore /p:VersionSuffix=
does the trick! 😄#185