Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit 40c1f0c

Browse files
post_package_id hook (#4243)
1 parent 529e557 commit 40c1f0c

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

‎reference/extensions/hooks.rst‎

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -132,6 +132,11 @@ Here you can see a complete example of all the hook functions available:
132132
def post_package_info(conanfile):
133133
conanfile.output.info("Running after of executing package_info() method.")
134134
135+
# Note that pre_package_id() hook doesn't exist yet, so far there hasn't been
136+
# a use case
137+
def post_package_id(conanfile):
138+
conanfile.output.info("Running after executing packge_id() method.")
139+
135140
Functions of the hooks are intended to be self-descriptive regarding to the execution of them. For example, the ``pre_package()`` function
136141
is called just before the ``package()`` method of the recipe is executed.
137142

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /