Add project-tools #142
@ -59,13 +59,13 @@ def check_if_structure_is_consistent(cur_path, path_dict, error_list):
|
|||||||
error_list += ["ERROR: %s doesn't exist!" % next_path]
|
error_list += ["ERROR: %s doesn't exist!" % next_path]
|
||||||
|
|
||||||
|
|
||||||
current_file_path = pathlib.Path(__file__)
|
current_file_path = pathlib.Path(__file__).parent
|
||||||
start_search_path = current_file_path.parent.parent.parent.resolve()
|
start_search_path = current_file_path.parent.parent.resolve()
|
||||||
# path_dict = create_path_dict(str(start_search_path), 5)
|
# path_dict = create_path_dict(str(start_search_path), 5)
|
||||||
|
|
||||||
# path_dict pre-generated. This is the stucture the consistency check will ensure is there
|
# path_dict pre-generated. This is the stucture the consistency check will ensure is there
|
||||||
path_dict = {
|
path_dict = {
|
||||||
'../../../': {
|
'../../': {
|
||||||
'shared': {'artifacts': {}},
|
'shared': {'artifacts': {}},
|
||||||
'svn': {'tools': {'consistency_check.py': 'file'}},
|
'svn': {'tools': {'consistency_check.py': 'file'}},
|
||||||
'local': {'blender': {}, 'scripts': {}, 'config': {}},
|
'local': {'blender': {}, 'scripts': {}, 'config': {}},
|
||||||
|
Loading…
Reference in New Issue
Block a user