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

Fixes for pack #606

Merged
merged 1 commit into from
May 18, 2016
Merged

Fixes for pack #606

merged 1 commit into from
May 18, 2016

Conversation

toddm
Copy link
Contributor

@toddm toddm commented May 18, 2016

Make it only build once instead of twice when building symbols.
Use the correct version when passing a version or suffix to pack when a version is in the project.json file.
Allow ....\files to get included in the pack. This was causing dlls to not get included when the output directory started with .....

@emgarten @spadapet @joelverhagen

Make it only build once instead of twice when building symbols
Use the correct version when passing a version or suffix to pack when a version is in the project.json file.
Allow ..\..\files to get included in the pack.
// Create a builder for the main package as well as the sources/symbols package
PackageBuilder mainPackageBuilder = factory.CreateBuilder(_packArgs.BasePath);
PackageBuilder mainPackageBuilder = factory.CreateBuilder(_packArgs.BasePath, version, _packArgs.Suffix, buildIfNeeded: true);
Copy link
Contributor

Choose a reason for hiding this comment

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

Can the NuGetVersion know about the suffix instead of passing the suffix along?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I started doing something more like that, but you can pass in just a suffix and no version to pack while having a version in project.json. It needs to know that the version passed in was null but the suffix wasn't null. So it seemed that we needed to pass around both.

Copy link
Contributor

Choose a reason for hiding this comment

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

Darn, but OK if that's what's needed.


In reply to: 63772517 [](ancestors = 63772517)

@spadapet
Copy link
Contributor

:shipit:

@toddm toddm merged commit 3a7ea83 into dev May 18, 2016
@toddm toddm deleted the dev-toddmosc-fixes branch May 18, 2016 23:59
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