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

msbuild temp props in build folder #4113

Merged
merged 6 commits into from Dec 12, 2018

Conversation

Projects
None yet
4 participants
@lasote
Copy link
Contributor

commented Dec 12, 2018

Changelog: Fix: The property file that the MSBuild() is now generated in the build_folder instead of a temporary folder to allow more reproducible builds.
Docs: conan-io/docs#980

Closes #4085

PENDING DOCS

@ghost ghost assigned lasote Dec 12, 2018

@ghost ghost added the stage: review label Dec 12, 2018

@lasote lasote added this to the 1.11 milestone Dec 12, 2018

@lasote lasote assigned jgsogo and memsharded and unassigned lasote Dec 12, 2018

@lasote lasote requested a review from danimtb Dec 12, 2018

@lasote lasote changed the title msbuild temp props build in build folder msbuild temp props in build folder Dec 12, 2018

@danimtb

This comment has been minimized.

Copy link
Member

commented Dec 12, 2018

maybe add a check in the existing tests to check file is generated in the build folder now using a custom property_file_name?

Missing test is important

@ghost ghost assigned lasote Dec 12, 2018

@jgsogo

jgsogo approved these changes Dec 12, 2018

Copy link
Member

left a comment

Looks good!

@memsharded
Copy link
Contributor

left a comment

Please remove tmp_file dead code and merge.

self.build_env.parallel = parallel

with tools.environment_append(self.build_env.vars):
# Path for custom properties file
props_file_contents = self._get_props_file_contents()
with tmp_file(props_file_contents) as props_file_path:

This comment has been minimized.

Copy link
@memsharded

memsharded Dec 12, 2018

Contributor

The tmp_file context manager is now dead code, please remove it.

lasote added some commits Dec 12, 2018

@memsharded memsharded merged commit 663a887 into conan-io:develop Dec 12, 2018

2 checks passed

continuous-integration/jenkins/pr-head This commit looks good
Details
license/cla Contributor License Agreement is signed.
Details

@ghost ghost removed the stage: review label Dec 12, 2018

@lasote lasote referenced this pull request Dec 19, 2018

Merged

Document MSBuild changes #980

grisumbras pushed a commit to grisumbras/conan that referenced this pull request Dec 27, 2018

Merge pull request conan-io#4113 from lasote/feature/msbuild_prop_in_…
…build

msbuild temp props in build folder
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.