File tree Expand file tree Collapse file tree 1 file changed +10
-5
lines changed Expand file tree Collapse file tree 1 file changed +10
-5
lines changed Original file line number Diff line number Diff line change @@ -37,18 +37,23 @@ def main(context: Context, argv: Sequence[str] | None = None) -> ExitCode:
3737 ]:
3838 fetch (code_root , "getsentry/sentry" , auth = CI is None , sync = False )
3939
40- print ( "Installing sentry's brew dependencies..." )
41- if CI :
42- if DARWIN :
40+ if DARWIN :
41+ print ( "Installing sentry's brew dependencies..." )
42+ if CI :
4343 # Installing everything from brew takes too much time,
4444 # and chromedriver cask flakes occasionally. Really all we need to
4545 # set up the devenv is colima and docker-cli.
4646 # This is also required for arm64 macOS GHA runners.
4747 # We manage colima, so just need to install docker + qemu here.
4848 proc .run (("brew" , "install" , "docker" , "qemu" ))
49+ else :
50+ proc .run (
51+ (f"{ homebrew_bin } /brew" , "bundle" ),
52+ cwd = f"{ code_root } /sentry" ,
53+ )
4954 else :
50- proc . run (
51- ( f" { homebrew_bin } /brew" , "bundle" ), cwd = f" { code_root } /sentry "
55+ print (
56+ "Not on MacOS; assuming you have a docker cli and runtime installed. "
5257 )
5358
5459 proc .run (
You can’t perform that action at this time.
0 commit comments