- astring library_directory = repodir + "/source/lib_src/library";
- if (!filename(library_directory).good()) {
- library_directory = repodir + "/source/core/library";
- if (!filename(library_directory).good()) {
- library_directory = repodir + "/libraries/library";
- if (!filename(library_directory).good()) {
- library_directory = repodir + "/../../libraries/library";
- if (!filename(library_directory).good()) {
- non_continuable_error(static_class_name(), func,
- astring("failed to locate the library folder storing the generated files."));
- }
- }
- }
+ 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";
+ if (!filename(versions_directory).good()) {
+ non_continuable_error(static_class_name(), func,
+ astring("failed to locate the library folder storing the generated files."));