Skip to content

Commit 6acc3ad

Browse files
uilianriesczoido
andauthored
[feature] Add pre_validate post_validate hooks in reference (#4013)
* Add pre_validate post_validate hooks in reference Signed-off-by: Uilian Ries <uilianries@gmail.com> * Update reference/extensions/hooks.rst * Update reference/extensions/hooks.rst --------- Signed-off-by: Uilian Ries <uilianries@gmail.com> Co-authored-by: Carlos Zoido <mrgalleta@gmail.com>
1 parent 2e972c5 commit 6acc3ad

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

reference/extensions/hooks.rst

+6
Original file line numberDiff line numberDiff line change
@@ -93,6 +93,12 @@ Here you can see a complete example of all the hook functions available:
9393
def post_export(conanfile):
9494
conanfile.output.info("Running after of executing export() method.")
9595
96+
def pre_validate(conanfile):
97+
conanfile.output.info("Running before executing the validate() method.")
98+
99+
def post_validate(conanfile):
100+
conanfile.output.info("Running after executing the validate() method.")
101+
96102
def pre_source(conanfile):
97103
conanfile.output.info("Running before to execute source() method.")
98104

0 commit comments

Comments
 (0)