This commit is contained in:
parent
d4bf811e94
commit
d3c91fc1fd
2 changed files with 62 additions and 8 deletions
|
|
@ -252,11 +252,11 @@ namespace Crafter {
|
|||
name.replace_extension();
|
||||
std::string depFolder = name.string() + "-" + configName;
|
||||
|
||||
if (it.contains("commit")) {
|
||||
depFolder + it["commit"].get<std::string>();
|
||||
} else if (it.contains("branch")) {
|
||||
depFolder + it["branch"].get<std::string>();
|
||||
}
|
||||
// if (it.contains("commit")) {
|
||||
// depFolder += it["commit"].get<std::string>();
|
||||
// } else if (it.contains("branch")) {
|
||||
// depFolder += it["branch"].get<std::string>();
|
||||
// }
|
||||
|
||||
if (!fs::exists(project.buildDir/depFolder)) {
|
||||
fs::create_directories(project.buildDir/depFolder);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue