MCPcopy Create free account
hub / github.com/NetSys/bess / do_clean

Function do_clean

build.py:406–416  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

404
405
406def do_clean():
407 print('Cleaning up...')
408 cmd('make -C core clean')
409 cmd('make -C core/kmod clean')
410 for path in ('pybess/builtin_pb', 'pybess/plugin_pb'):
411 cmd('rm -rf '
412 '{path}/*_pb2.py* {path}/ports/*_pb2.py* '
413 '{path}/__init__.pyc {path}/ports/__init__.pyc '
414 '{path}/*_pb2_grpc.py* {path}/ports/*_pb2_grpc.py* '
415 '{path}/__pycache__ {path}/ports/__pycache__'.format(path=path))
416 cmd('rm -rf %s/build' % DPDK_DIR)
417
418
419def do_dist_clean():

Callers 1

do_dist_cleanFunction · 0.70

Calls 1

cmdFunction · 0.70

Tested by

no test coverage detected