mirror of
https://github.com/servo/servo.git
synced 2025-06-21 15:49:04 +01:00
commit
b70e3cc5be
1 changed files with 8 additions and 1 deletions
|
@ -75,7 +75,14 @@ class MachCommands(CommandBase):
|
|||
else:
|
||||
args = args + params
|
||||
|
||||
subprocess.check_call(args, env=env)
|
||||
try:
|
||||
subprocess.check_call(args, env=env)
|
||||
except OSError as e:
|
||||
if e.errno == 2:
|
||||
print("Servo Binary can't be found! Run './mach build'"
|
||||
" and try again!")
|
||||
else:
|
||||
raise e
|
||||
|
||||
@Command('doc',
|
||||
description='Generate documentation',
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue