This commit is contained in:
parent
05143e8ac5
commit
30b3be2feb
2 changed files with 5 additions and 0 deletions
|
|
@ -109,6 +109,7 @@ namespace Crafter {
|
||||||
throw std::runtime_error("Failed to get executable path");
|
throw std::runtime_error("Failed to get executable path");
|
||||||
}
|
}
|
||||||
path[length] = '\0';
|
path[length] = '\0';
|
||||||
|
std::cout << path << std::endl;
|
||||||
return fs::path(path).parent_path().parent_path();
|
return fs::path(path).parent_path().parent_path();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -280,6 +280,8 @@ namespace Crafter {
|
||||||
|
|
||||||
const fs::path cacheDir = GetPath() / "cloneCache";
|
const fs::path cacheDir = GetPath() / "cloneCache";
|
||||||
|
|
||||||
|
std::cout << cacheDir << std::endl;
|
||||||
|
|
||||||
if (!fs::exists(cacheDir)) {
|
if (!fs::exists(cacheDir)) {
|
||||||
fs::create_directories(cacheDir);
|
fs::create_directories(cacheDir);
|
||||||
}
|
}
|
||||||
|
|
@ -303,6 +305,8 @@ namespace Crafter {
|
||||||
path = cacheDir / depFolder / "project.json";
|
path = cacheDir / depFolder / "project.json";
|
||||||
}
|
}
|
||||||
|
|
||||||
|
std::cout << path << std::endl;
|
||||||
|
|
||||||
// Create a Project object for the dependency
|
// Create a Project object for the dependency
|
||||||
std::unique_ptr<Project> depProject = std::make_unique<Project>(std::move(path), configName);
|
std::unique_ptr<Project> depProject = std::make_unique<Project>(std::move(path), configName);
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue