Skip to content

Commit 0498d34

Browse files
committed
Give more information if gyb or lit cannot be found
1 parent b64c12c commit 0498d34

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():
@@ -241,10 +242,11 @@ def check_lit_exec():
241242
if not os.path.exists(LIT_EXEC):
242243
fatal_error('''
243244
Error: Could not find lit.py.
245+
Looking at '%s'.
244246
245247
Make sure you have the llvm repo checked out next to the swift-syntax repo.
246248
Refer to README.md for more information.
247-
''')
249+
''' % LIT_EXEC)
248250

249251

250252
def check_incr_transfer_roundtrip_exec():

0 commit comments

Comments
 (0)