Skip to content

Commit 66baf83

Browse files
committed
bypass schemas management for --docs
1 parent f3ed086 commit 66baf83

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

wscript

+5
Original file line numberDiff line numberDiff line change
@@ -106,6 +106,11 @@ def build(bld):
106106
and uninstall a pre-fun.
107107
"""
108108

109+
# for some reason the post_fun keep being registered for other builds
110+
# bypassing the schemas management if the --docs options was given
111+
if ctx.options.docs:
112+
return
113+
109114
assert action in ("install", "uninstall")
110115
if ctx.cmd == action:
111116
schemas_file = "{}/hamster-time-tracker.schemas".format(ctx.env.schemas_destination)

0 commit comments

Comments
 (0)