MCPcopy Create free account
hub / github.com/RT-Thread/rt-thread / check_path

Method check_path

tools/sconsui.py:399–412  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

397 return command
398
399 def check_path(self):
400 result = True
401
402 if self.BSPRoot.get_path() == '':
403 result = False
404
405 if self.RTTRoot.get_path() == '':
406 result = False
407
408 if not result:
409 tkMessageBox.showinfo("RT-Thread SCons UI",
410 "Folder is empty, please choose correct directory.")
411
412 return result
413
414 def do_build(self):
415 self.prepare_build()

Callers 3

do_buildMethod · 0.95
do_cleanMethod · 0.95
do_make_projectMethod · 0.95

Calls 1

get_pathMethod · 0.80

Tested by

no test coverage detected