Add project-tools #142

Merged
Francesco Siddi merged 26 commits from ZedDB/blender-studio-pipeline:project-helper-tools into main 2023-08-31 20:33:04 +02:00
Showing only changes of commit d1479731da - Show all commits

View File

@ -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]
current_file_path = pathlib.Path(__file__)
start_search_path = current_file_path.parent.parent.parent.resolve()
current_file_path = pathlib.Path(__file__).parent
start_search_path = current_file_path.parent.parent.resolve()
# 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 = {
'../../../': {
'../../': {
'shared': {'artifacts': {}},
'svn': {'tools': {'consistency_check.py': 'file'}},
'local': {'blender': {}, 'scripts': {}, 'config': {}},