def clean(project, out):
    out << Header(level=2) << "Project " \
        << FileLink(path=project.path) << project.path << Close \
        << "..." << Close << Flush

    sources = project.getSources()

    result = cleanStep(project, out, project.buildPre, sources)
    if result == 0:
        result = cleanStep(project, out, project.build, sources)
        if result == 0:
            result = cleanStep(project, out, project.buildPost, sources)
    
    return 0
dataset/ETHPy150Open joehewitt/devon/devon/make.py/clean/original