From 68694d2e13caa47971d46d095bc02e5e6b57d962 Mon Sep 17 00:00:00 2001 From: Sven Heidemann Date: Sun, 28 Nov 2021 23:34:45 +0100 Subject: [PATCH] Renamed project --- cpl-workspace.json | 12 +----------- src/gismo/gismo.json | 2 +- src/{gismo_db => gismo_data}/__init__.py | 2 +- .../gismo-db.json => gismo_data/gismo-data.json} | 6 +++--- 4 files changed, 6 insertions(+), 16 deletions(-) rename src/{gismo_db => gismo_data}/__init__.py (95%) rename src/{gismo_db/gismo-db.json => gismo_data/gismo-data.json} (87%) diff --git a/cpl-workspace.json b/cpl-workspace.json index 5bdba0a..10cf480 100644 --- a/cpl-workspace.json +++ b/cpl-workspace.json @@ -5,22 +5,12 @@ "gismo": "src/gismo/gismo.json", "gismo-cli": "src/gismo_cli/gismo-cli.json", "gismo-core": "src/gismo_core/gismo-core.json", - "gismo-db": "src/gismo_db/gismo_db.json", + "gismo-data": "src/gismo_data/gismo-data.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": { - "pre-build": "cd ../gismo_cli; echo 'gismo-cli:'; cpl build; echo 'gismo:'", - "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", - "pre-stage-start": "echo 'staging:'; ", - "stage-start": "export GISMO_ENVIRONMENT=staging; export GISMO_NAME=Gismo-test; cpl start", - "pre-prod-start": "echo 'production:'; ", - "prod-start": "export GISMO_ENVIRONMENT=production; export GISMO_NAME=Gismo-prod; cpl start" } } } \ No newline at end of file diff --git a/src/gismo/gismo.json b/src/gismo/gismo.json index f47bca8..147a433 100644 --- a/src/gismo/gismo.json +++ b/src/gismo/gismo.json @@ -46,7 +46,7 @@ }, "ProjectReferences": [ "../gismo_core/gismo-core.json", - "../gismo_db/gismo-db.json", + "../gismo_data/gismo-data.json", "../cpl_extension/cpl-extension.json", "../modules_core/modules-core.json", "../modules/boot_log/boot-log.json" diff --git a/src/gismo_db/__init__.py b/src/gismo_data/__init__.py similarity index 95% rename from src/gismo_db/__init__.py rename to src/gismo_data/__init__.py index 4265bbc..c4ee28a 100644 --- a/src/gismo_db/__init__.py +++ b/src/gismo_data/__init__.py @@ -11,7 +11,7 @@ sh-edraft Dicord bot Gismo """ -__title__ = 'gismo_db' +__title__ = 'gismo_data' __author__ = 'Sven Heidemann' __license__ = 'MIT' __copyright__ = 'Copyright (c) 2021 - 2022 sh-edraft.de' diff --git a/src/gismo_db/gismo-db.json b/src/gismo_data/gismo-data.json similarity index 87% rename from src/gismo_db/gismo-db.json rename to src/gismo_data/gismo-data.json index 0d25b92..6f32731 100644 --- a/src/gismo_db/gismo-db.json +++ b/src/gismo_data/gismo-data.json @@ -1,6 +1,6 @@ { "ProjectSettings": { - "Name": "gismo-db", + "Name": "gismo-data", "Version": { "Major": "0", "Minor": "1", @@ -8,8 +8,8 @@ }, "Author": "Sven Heidemann", "AuthorEmail": "sven.heidemann@sh-edraft.de", - "Description": "sh-edraft Gismo - Database", - "LongDescription": "sh-edraft Dicord bot Gismo - Database", + "Description": "sh-edraft Gismo - data", + "LongDescription": "sh-edraft Dicord bot Gismo - data library", "URL": "https://www.sh-edraft.de", "CopyrightDate": "2021 - 2022", "CopyrightName": "sh-edraft.de",