|
@@ -44,7 +44,7 @@ ROOT = os.path.realpath(os.path.join(os.path.dirname(
|
|
|
sys.path.insert(0, os.path.join(ROOT, 'src'))
|
|
|
|
|
|
from sentry.utils.distutils import (
|
|
|
- BuildAssetsCommand, BuildIntegrationDocsCommand
|
|
|
+ BuildAssetsCommand, BuildIntegrationDocsCommand, BuildJsSdkRegistryCommand
|
|
|
)
|
|
|
|
|
|
# The version of sentry
|
|
@@ -90,7 +90,9 @@ class SentrySDistCommand(SDistCommand):
|
|
|
# part of our source build pipeline.
|
|
|
if not IS_LIGHT_BUILD:
|
|
|
sub_commands = SDistCommand.sub_commands + \
|
|
|
- [('build_integration_docs', None), ('build_assets', None)]
|
|
|
+ [('build_integration_docs', None),
|
|
|
+ ('build_assets', None),
|
|
|
+ ('build_js_sdk_registry', None)]
|
|
|
|
|
|
|
|
|
class SentryBuildCommand(BuildCommand):
|
|
@@ -99,6 +101,7 @@ class SentryBuildCommand(BuildCommand):
|
|
|
if not IS_LIGHT_BUILD:
|
|
|
self.run_command('build_integration_docs')
|
|
|
self.run_command('build_assets')
|
|
|
+ self.run_command('build_js_sdk_registry')
|
|
|
|
|
|
|
|
|
class SentryDevelopCommand(DevelopCommand):
|
|
@@ -107,6 +110,7 @@ class SentryDevelopCommand(DevelopCommand):
|
|
|
if not IS_LIGHT_BUILD:
|
|
|
self.run_command('build_integration_docs')
|
|
|
self.run_command('build_assets')
|
|
|
+ self.run_command('build_js_sdk_registry')
|
|
|
|
|
|
|
|
|
cmdclass = {
|
|
@@ -115,6 +119,7 @@ cmdclass = {
|
|
|
'build': SentryBuildCommand,
|
|
|
'build_assets': BuildAssetsCommand,
|
|
|
'build_integration_docs': BuildIntegrationDocsCommand,
|
|
|
+ 'build_js_sdk_registry': BuildJsSdkRegistryCommand,
|
|
|
}
|
|
|
|
|
|
|