MCPcopy Create free account
hub / github.com/build-cpp/cmkr / clean

Function clean

src/build.cpp:46–54  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

44}
45
46int clean() {
47 bool success = false;
48 parser::Project project(nullptr, ".", true);
49 if (fs::exists(project.build_dir)) {
50 success = fs::remove_all(project.build_dir);
51 fs::create_directory(project.build_dir);
52 }
53 return success ? EXIT_SUCCESS : EXIT_FAILURE;
54}
55
56int install() {
57 parser::Project project(nullptr, ".", false);

Callers 1

handle_argsFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected