updated build system

This commit is contained in:
2024-08-22 14:35:56 -05:00
parent 1236bf1829
commit 497b424840
36 changed files with 823 additions and 612 deletions

View File

@ -41,7 +41,8 @@ static void delete_generated_files() {
generated_files.clear();
if (parent_path.has_value()) {
EXPECT_TRUE(repertory::utils::file::remove_directory(*parent_path, true));
EXPECT_TRUE(
repertory::utils::file::directory(*parent_path).remove_recursively());
}
}
@ -110,8 +111,8 @@ auto get_test_output_dir() -> std::string {
auto path = utils::path::combine("/tmp", {temp});
#endif // defined(_WIN32)
if (not utils::file::is_directory(path)) {
EXPECT_TRUE(utils::file::create_directories(path));
if (not utils::file::directory(path).exists()) {
EXPECT_TRUE(utils::file::directory{path}.create_directory());
}
return path;