| 44 | } |
| 45 | |
| 46 | int 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 | |
| 56 | int install() { |
| 57 | parser::Project project(nullptr, ".", false); |