@@ -200,7 +200,7 @@ bool containsFolder(fs::path path, std::string folderName) {
200200
201201bool isGoodProjectPath (fs::path path) {
202202 if (!fs::is_directory (path)) return false ;
203- return containsFolder (path, " src" );
203+ return fs::exists (path / " src" );
204204}
205205
206206bool isGoodOFPath (fs::path path) {
@@ -225,12 +225,6 @@ void updateProject(const fs::path & path, ofTargetPlatform target, bool bConside
225225 if (!bDryRun) project->create (path, templateName);
226226
227227 if (bConsiderParameterAddons && bAddonsPassedIn){
228-
229- // cout << "---->> addons.size " << addons.size() << endl;
230- for (auto & a : addons) {
231- cout << a << endl;
232- }
233-
234228 for (auto & addon: addons){
235229 project->addAddon (addon);
236230 }
@@ -258,6 +252,7 @@ void recursiveUpdate(const fs::path & path, ofTargetPlatform target) {
258252 auto project = getTargetProject (target);
259253 updateProject (path, target, false );
260254 return ;
255+ } else {
261256 }
262257
263258 // finally, recursively look at this
@@ -495,7 +490,7 @@ int main(int argc, char** argv){
495490 mode = PG_MODE_CREATE;
496491 }
497492 // XAXA TEMP
498- mode = PG_MODE_CREATE;
493+ // mode = PG_MODE_CREATE;
499494
500495
501496 if (bVerbose){
0 commit comments