X-Git-Url: https://feistymeow.org/gitweb/?a=blobdiff_plain;f=nucleus%2Ftools%2Fclam_tools%2Fvsts_version_fixer.cpp;h=3beb8779ee2310e125a71ef2eff21a010aa6577e;hb=9fafcdfd60bf1958e0a285735ae95ba34841f439;hp=9226adfaf9c3d39af6542e903824b6e1aa771034;hpb=51d71c226be424b6a698c7474d237e8c69661af5;p=feisty_meow.git diff --git a/nucleus/tools/clam_tools/vsts_version_fixer.cpp b/nucleus/tools/clam_tools/vsts_version_fixer.cpp index 9226adfa..3beb8779 100644 --- a/nucleus/tools/clam_tools/vsts_version_fixer.cpp +++ b/nucleus/tools/clam_tools/vsts_version_fixer.cpp @@ -219,8 +219,13 @@ bool stamping_spider(const directory ¤t) if (current_file.ends("version.ini") && !current_file.iequals("core_version.ini") ) { //LOG(astring("found ver file: ") + current.path() + "/" + current_file); +// + astring versions_directory = environment::get("FEISTY_MEOW_GENERATED_STORE"); + // we keep our version files one level below the top of the generated store. + versions_directory += "/versions"; + version_ini::one_stop_version_stamp(current.path() + "/" + current_file, - global_build_ini, true); + versions_directory, global_build_ini, true); } } return true; @@ -254,18 +259,18 @@ void vsts_version_fixer::remove_confusing_files() source_dir_whacks += "Release"; source_dir_whacks += "bin"; source_dir_whacks += "temp_build"; - directory repo_source(environment::get("FEISTY_MEOW_DIR") + "/source"); + directory repo_source(environment::get("FEISTY_MEOW_APEX") + "/source"); whack_in_subdirs(repo_source, source_file_whacks, source_dir_whacks); - directory libra_src(environment::get("FEISTY_MEOW_DIR") + "/libraries"); + directory libra_src(environment::get("FEISTY_MEOW_APEX") + "/libraries"); whack_in_subdirs(libra_src, source_file_whacks, source_dir_whacks); - directory produ_src(environment::get("FEISTY_MEOW_DIR") + "/products"); + directory produ_src(environment::get("FEISTY_MEOW_APEX") + "/products"); whack_in_subdirs(produ_src, source_file_whacks, source_dir_whacks); /* this never helped. // clean out a variety of bad files in the objects hierarchy. // currently this is just the generated RES files which we have seen cause // vsts to think apps and dlls are up to date when they are actually not. - directory repo_objects(environment::get("FEISTY_MEOW_DIR")); + directory repo_objects(environment::get("FEISTY_MEOW_APEX")); string_array objects_file_whacks; objects_file_whacks += ".res"; string_array objects_dir_whacks; // none right now. @@ -281,7 +286,7 @@ int vsts_version_fixer::execute() remove_confusing_files(); - astring repo_dir = environment::get("FEISTY_MEOW_DIR"); + astring repo_dir = environment::get("FEISTY_MEOW_APEX"); // figure out which build parameter file to use. global_build_ini = "";