Skip to content

Commit bbd78f9

Browse files
committed
Give more information if gyb or lit cannot be found
1 parent d9f3ea1 commit bbd78f9

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

build-script.py

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -79,11 +79,12 @@ def check_gyb_exec():
7979
if not os.path.exists(GYB_EXEC):
8080
fatal_error('''
8181
Error: Could not find gyb.
82+
Looking at '%s'.
8283
8384
Make sure you have the main swift repo checked out next to the swift-syntax
8485
repository.
8586
Refer to README.md for more information.
86-
''')
87+
''' % GYB_EXEC)
8788

8889

8990
def check_rsync():
@@ -246,10 +247,11 @@ def check_lit_exec():
246247
if not os.path.exists(LIT_EXEC):
247248
fatal_error('''
248249
Error: Could not find lit.py.
250+
Looking at '%s'.
249251
250252
Make sure you have the llvm repo checked out next to the swift-syntax repo.
251253
Refer to README.md for more information.
252-
''')
254+
''' % LIT_EXEC)
253255

254256

255257
def check_incr_transfer_roundtrip_exec():

0 commit comments

Comments
 (0)