Fixed source creation bug

This commit is contained in:
2021-05-19 08:01:02 +02:00
parent f611aa73db
commit b931ba6e17
14 changed files with 31 additions and 68 deletions

View File

@@ -98,10 +98,9 @@ class LibraryBuilder:
os.makedirs(project_path)
src_rel_path = ''
src_name = ''
src_name = project_name_snake
if workspace is None:
src_rel_path = 'src/'
src_name = project_name_snake
src_rel_path = os.path.join('src/', src_name)
if use_application_api:
templates.append(ApplicationTemplate(src_name, src_rel_path))