Skip to content

Commit

Permalink
fix: Docs not built in fresh bdist_wheel
Browse files Browse the repository at this point in the history
The docs and assets need to be built prior to the build command, so that they are copied over from src/ -> build/ in the subsequent build command.
  • Loading branch information
atcase authored and BYK committed Jul 15, 2019
1 parent d44a6d7 commit a5f8fcb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -97,11 +97,11 @@ class SentrySDistCommand(SDistCommand):

class SentryBuildCommand(BuildCommand):
def run(self):
BuildCommand.run(self)
if not IS_LIGHT_BUILD:
self.run_command('build_integration_docs')
self.run_command('build_assets')
self.run_command('build_js_sdk_registry')
BuildCommand.run(self)


class SentryDevelopCommand(DevelopCommand):
Expand Down

0 comments on commit a5f8fcb

Please sign in to comment.