diff --git a/cpl-workspace.json b/cpl-workspace.json index 85ccd65..040e04e 100644 --- a/cpl-workspace.json +++ b/cpl-workspace.json @@ -6,13 +6,14 @@ "gismo-cli": "src/gismo_cli/gismo-cli.json", "gismo-core": "src/gismo_core/gismo-core.json", "gismo-db": "src/gismo_db/gismo_db.json", - "database": "src/database/database.json", + "cpl-extension": "src/cpl_extension/cpl-extension.json", "modules-core": "src/modules_core/modules-core.json", "boot-log": "src/modules/boot_log/boot-log.json", "level-generator": "tools/level_generator/level-generator.json", "ontime-calculator": "tools/ontime_calculator/ontime-calculator.json" }, "Scripts": { + "build-all": "cd src/gismo; echo \"gismo:\"; cpl build; cd ../gismo_cli; echo \"gismo-cli:\"; cpl build; cd ../gismo_core; echo \"gismo-core:\"; cpl build; cd ../gismo_db; echo \"gismo-db:\"; cpl build; cd ../cpl_extension; echo \"cpl_extension:\"; cpl build; cd ../modules_core; echo \"modules-core:\"; cpl build;", "pre-start": "echo '!WARNING! You should start with the right environment!\nRun cpl start-ENV\nSee workspace for more details.'; sleep 2", "pre-dev-start": "echo 'development:'; ", "dev-start": "export GISMO_ENVIRONMENT=development; export GISMO_NAME=Gismo-dev; cpl start", diff --git a/src/database/__init__.py b/src/cpl_extension/__init__.py similarity index 85% rename from src/database/__init__.py rename to src/cpl_extension/__init__.py index 099bca2..8200b1a 100644 --- a/src/database/__init__.py +++ b/src/cpl_extension/__init__.py @@ -1,7 +1,7 @@ # -*- coding: utf-8 -*- """ -database sh-edraft Gismo - database core +cpl-extension sh-edraft Gismo - cpl extension - database core ~~~~~~~~~~~~~~~~~~~ sh-edraft Dicord bot Gismo - database implementation of cpl.database @@ -11,7 +11,7 @@ sh-edraft Dicord bot Gismo - database implementation of cpl.database """ -__title__ = 'database' +__title__ = 'cpl_extension' __author__ = 'Sven Heidemann' __license__ = 'MIT' __copyright__ = 'Copyright (c) 2021 - 2022 sh-edraft.de' diff --git a/src/database/appsettings.json b/src/cpl_extension/appsettings.json similarity index 100% rename from src/database/appsettings.json rename to src/cpl_extension/appsettings.json diff --git a/src/database/database.json b/src/cpl_extension/cpl_extension.json similarity index 87% rename from src/database/database.json rename to src/cpl_extension/cpl_extension.json index c743e12..91e86bb 100644 --- a/src/database/database.json +++ b/src/cpl_extension/cpl_extension.json @@ -1,6 +1,6 @@ { "ProjectSettings": { - "Name": "database", + "Name": "cpl-extension", "Version": { "Major": "0", "Minor": "1", @@ -8,7 +8,7 @@ }, "Author": "Sven Heidemann", "AuthorEmail": "sven.heidemann@sh-edraft.de", - "Description": "sh-edraft Gismo - database core", + "Description": "sh-edraft Gismo - cpl extension - database core", "LongDescription": "sh-edraft Dicord bot Gismo - database implementation of cpl.database", "URL": "https://www.sh-edraft.de", "CopyrightDate": "2021 - 2022", @@ -29,8 +29,8 @@ "ProjectType": "library", "SourcePath": "", "OutputPath": "../../dist", - "Main": "database.main", - "EntryPoint": "database", + "Main": "", + "EntryPoint": "", "IncludePackageData": false, "Included": [], "Excluded": [ diff --git a/src/modules/boot_log/__init__.py b/src/modules/boot_log/__init__.py index 78e0aa2..3354a8e 100644 --- a/src/modules/boot_log/__init__.py +++ b/src/modules/boot_log/__init__.py @@ -1,17 +1,17 @@ # -*- coding: utf-8 -*- """ -modules/boot-log sh-edraft Gismo - Boot log +gismo sh-edraft Gismo ~~~~~~~~~~~~~~~~~~~ -sh-edraft Dicord bot Gismo - Boot log +sh-edraft Dicord bot Gismo :copyright: (c) 2021 - 2022 sh-edraft.de :license: MIT, see LICENSE for more details. """ -__title__ = 'boot_log' +__title__ = 'modules.boot_log' __author__ = 'Sven Heidemann' __license__ = 'MIT' __copyright__ = 'Copyright (c) 2021 - 2022 sh-edraft.de' diff --git a/src/modules/boot_log/boot-log.json b/src/modules/boot_log/boot-log.json index d86f1a0..cd426b1 100644 --- a/src/modules/boot_log/boot-log.json +++ b/src/modules/boot_log/boot-log.json @@ -28,7 +28,7 @@ "BuildSettings": { "ProjectType": "library", "SourcePath": "", - "OutputPath": "../../dist", + "OutputPath": "../../../dist", "Main": "modules/_boot_log.main", "EntryPoint": "modules/boot-log", "IncludePackageData": false,