From cc7755bafcc689f94697c80f9c58c312ef40ac98 Mon Sep 17 00:00:00 2001 From: Sven Heidemann Date: Sun, 25 Jul 2021 19:18:06 +0200 Subject: [PATCH] Improved cli project builders --- cpl-workspace.json | 3 ++- src/cpl_cli/source_creator/console_builder.py | 3 ++- src/cpl_cli/source_creator/library_builder.py | 3 ++- 3 files changed, 6 insertions(+), 3 deletions(-) diff --git a/cpl-workspace.json b/cpl-workspace.json index 73799eaa..a8752234 100644 --- a/cpl-workspace.json +++ b/cpl-workspace.json @@ -5,6 +5,7 @@ "cpl": "src/cpl/cpl.json", "cpl_cli": "src/cpl_cli/cpl_cli.json", "cpl_query": "src/cpl_query/cpl_query.json" - } + }, + "Scripts": {} } } \ No newline at end of file diff --git a/src/cpl_cli/source_creator/console_builder.py b/src/cpl_cli/source_creator/console_builder.py index 2e321b37..a48d0d0b 100644 --- a/src/cpl_cli/source_creator/console_builder.py +++ b/src/cpl_cli/source_creator/console_builder.py @@ -43,7 +43,8 @@ class ConsoleBuilder: ws_dict = { WorkspaceSettings.__name__: { WorkspaceSettingsNameEnum.default_project.value: project_name, - WorkspaceSettingsNameEnum.projects.value: projects + WorkspaceSettingsNameEnum.projects.value: projects, + WorkspaceSettingsNameEnum.scripts: {} } } diff --git a/src/cpl_cli/source_creator/library_builder.py b/src/cpl_cli/source_creator/library_builder.py index 2f410dcb..78f18908 100644 --- a/src/cpl_cli/source_creator/library_builder.py +++ b/src/cpl_cli/source_creator/library_builder.py @@ -43,7 +43,8 @@ class LibraryBuilder: ws_dict = { WorkspaceSettings.__name__: { WorkspaceSettingsNameEnum.default_project.value: project_name, - WorkspaceSettingsNameEnum.projects.value: projects + WorkspaceSettingsNameEnum.projects.value: projects, + WorkspaceSettingsNameEnum.scripts: {} } }