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

Method do_build

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

Source from the content-addressed store, hash-verified

412 return result
413
414 def do_build(self):
415 self.prepare_build()
416 command = 'scons'
417
418 if not self.check_path():
419 return
420
421 bsp = self.BSPRoot.get_path()
422 os.chdir(bsp)
423
424 self.output.delete(1.0, END)
425 self.output.insert(END, 'building project...\n')
426 ExecCmd(command)
427
428 def do_clean(self):
429 self.prepare_build()

Callers

nothing calls this directly

Calls 4

prepare_buildMethod · 0.95
check_pathMethod · 0.95
ExecCmdFunction · 0.85
get_pathMethod · 0.80

Tested by

no test coverage detected