Skip to content

Commit

Permalink
bypass schemas management for --docs
Browse files Browse the repository at this point in the history
  • Loading branch information
ederag committed Aug 4, 2019
1 parent f3ed086 commit 66baf83
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions wscript
Original file line number Diff line number Diff line change
Expand Up @@ -106,6 +106,11 @@ def build(bld):
and uninstall a pre-fun.
"""

# for some reason the post_fun keep being registered for other builds
# bypassing the schemas management if the --docs options was given
if ctx.options.docs:
return

assert action in ("install", "uninstall")
if ctx.cmd == action:
schemas_file = "{}/hamster-time-tracker.schemas".format(ctx.env.schemas_destination)
Expand Down

0 comments on commit 66baf83

Please sign in to comment.