Fixed source creation bug
This commit is contained in:
parent
b931ba6e17
commit
ab539c15dd
@ -122,11 +122,12 @@ class LibraryBuilder:
|
|||||||
|
|
||||||
project_file_path = f'{project_name_snake}/{project_name}.json'
|
project_file_path = f'{project_name_snake}/{project_name}.json'
|
||||||
if workspace is None:
|
if workspace is None:
|
||||||
src_path = f'{proj_name}/src/{project_name_snake}'
|
src_path = f'src/{project_name_snake}'
|
||||||
workspace_file_path = f'{proj_name}/cpl-workspace.json'
|
workspace_file_path = f'{proj_name}/cpl-workspace.json'
|
||||||
project_file_path = f'{src_path}/{project_name}.json'
|
project_file_rel_path = f'{src_path}/{project_name}.json'
|
||||||
|
project_file_path = f'{proj_name}/{src_path}/{project_name}.json'
|
||||||
cls._create_workspace(workspace_file_path, project_name, {
|
cls._create_workspace(workspace_file_path, project_name, {
|
||||||
project_name: project_file_path
|
project_name: project_file_rel_path
|
||||||
})
|
})
|
||||||
|
|
||||||
else:
|
else:
|
||||||
|
Loading…
Reference in New Issue
Block a user