Hi All,
I am new to doit and creating a small snippet to complie a large C project , I am stuck at following issue
I have a project folder "A" in which I have dodo.py file in which there are tasks
"A" has sub folder "C" &"D" folder with src codes. How can I add then to the file_dep parameter as when they are added as below they are not to be found by doit.
def task_build():
"""-------------->Some project"""
Repo = Path.cwd()
BRepo = Repo/'B'
CRepo = BRepo/'C'
DRepo = BorderRouterRepo/'D'
CFiles = list(BRepo.glob('**/*.c'))# Got all the .c file from parent
OBJECTS = [str(os.path.basename(str(x))) for x in CFiles]
return {
'actions': [(buildProject)],
'file_dep': OBJECTS,
'verbosity': 2,
}
Regards
Sainath