Skip to content

Commit 40c1f0c

Browse files
authored
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)