Skip to content

[develop2] new pre/post_generate() and post_build_fail hooks#11593

Merged
lasote merged 2 commits into
conan-io:develop2from
memsharded:feature/develop2_new_hooks
Jul 11, 2022
Merged

[develop2] new pre/post_generate() and post_build_fail hooks#11593
lasote merged 2 commits into
conan-io:develop2from
memsharded:feature/develop2_new_hooks

Conversation

@memsharded

@memsharded memsharded commented Jul 8, 2022

Copy link
Copy Markdown
Member

Close #11554 (adding a post_build_fail hook that is called when a build fail)
Close #11094 (adding pre_generate and post_generate hook, covering the generation of files, a bit more than just the generate() method call)

@memsharded memsharded added this to the 2.0.0-beta2 milestone Jul 8, 2022
@memsharded memsharded marked this pull request as ready for review July 8, 2022 17:22
Comment thread conans/client/generators/__init__.py Outdated
new_gen_folder = conanfile.generators_folder
_receive_conf(conanfile)

# TODO: Should this apply to the ``generate()`` method only?

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

I don't think so. I would leave it here.

Comment thread conans/client/generators/__init__.py Outdated
@lasote lasote merged commit fd6731d into conan-io:develop2 Jul 11, 2022
@memsharded memsharded deleted the feature/develop2_new_hooks branch July 11, 2022 14:41
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.

4 participants