copy-overlay. ./build broken btw :-)

This commit is contained in:
Ciro Santilli 六四事件 法轮功
2018-10-25 00:00:02 +00:00
parent ca231b82f6
commit 004c100453
6 changed files with 50 additions and 81 deletions

View File

@@ -117,7 +117,9 @@ class Component:
pass
def clean(self, args):
this_module.rmrf(self.get_build_dir(args))
build_dir = self.get_build_dir(args)
if build_dir is not None:
this_module.rmrf(build_dir)
def do_build(self, args):
'''
@@ -133,9 +135,9 @@ class Component:
def get_build_dir(self, args):
'''
Build directory, gets cleaned by --clean.
Build directory, gets cleaned by --clean if not None.
'''
raise NotImplementedError()
return None
def get_default_args(self):
'''