A-0.1 - Modularer Aufbau #13

Merged
edraft merged 118 commits from 0.1 into Alpha 2021-11-25 21:02:12 +01:00
9 changed files with 36 additions and 30 deletions
Showing only changes of commit eda1caf36a - Show all commits

View File

@ -5,9 +5,10 @@
"gismo": "src/gismo/gismo.json", "gismo": "src/gismo/gismo.json",
"gismo-cli": "src/gismo_cli/gismo-cli.json", "gismo-cli": "src/gismo_cli/gismo-cli.json",
"gismo-core": "src/gismo_core/gismo-core.json", "gismo-core": "src/gismo_core/gismo-core.json",
"boot-log": "src/modules/boot_log/boot-log.json", "gismo-db": "src/gismo_db/gismo_db.json",
"gismo_db": "src/gismo_db/gismo_db.json",
"database": "src/database/database.json", "database": "src/database/database.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", "level-generator": "tools/level_generator/level-generator.json",
"ontime-calculator": "tools/ontime_calculator/ontime-calculator.json" "ontime-calculator": "tools/ontime_calculator/ontime-calculator.json"
}, },

View File

@ -1 +1,25 @@
# -*- coding: utf-8 -*-
"""
gismo sh-edraft Gismo
~~~~~~~~~~~~~~~~~~~
sh-edraft Dicord bot Gismo
:copyright: (c) 2021 - 2022 sh-edraft.de
:license: MIT, see LICENSE for more details.
"""
__title__ = 'gismo'
__author__ = 'Sven Heidemann'
__license__ = 'MIT'
__copyright__ = 'Copyright (c) 2021 - 2022 sh-edraft.de'
__version__ = '0.1.0'
from collections import namedtuple
# imports: # imports:
VersionInfo = namedtuple('VersionInfo', 'major minor micro')
version_info = VersionInfo(major='0', minor='1', micro='0')

View File

@ -43,6 +43,11 @@
"*.json" "*.json"
] ]
}, },
"ProjectReferences": [] "ProjectReferences": [
"../gismo_core/gismo-core.json",
"../gismo_db/gismo-db.json",
"../modules/*",
"../modules_core/modules-core.json"
]
} }
} }

View File

@ -1,6 +1,6 @@
{ {
"ProjectSettings": { "ProjectSettings": {
"Name": "gismo_db", "Name": "gismo-db",
"Version": { "Version": {
"Major": "0", "Major": "0",
"Minor": "0", "Minor": "0",

View File

@ -1,15 +0,0 @@
{
"TimeFormatSettings": {
"DateFormat": "%Y-%m-%d",
"TimeFormat": "%H:%M:%S",
"DateTimeFormat": "%Y-%m-%d %H:%M:%S.%f",
"DateTimeLogFormat": "%Y-%m-%d_%H-%M-%S"
},
"LoggingSettings": {
"Path": "logs/",
"Filename": "log_$start_time.log",
"ConsoleLogLevel": "ERROR",
"FileLogLevel": "WARN"
}
}

View File

@ -1,9 +0,0 @@
from cpl_core.console import Console
def main():
Console.write_line('Hello World')
if __name__ == '__main__':
main()

View File

@ -1,6 +1,6 @@
{ {
"ProjectSettings": { "ProjectSettings": {
"Name": "modules_core", "Name": "modules-core",
"Version": { "Version": {
"Major": "0", "Major": "0",
"Minor": "0", "Minor": "0",
@ -29,7 +29,7 @@
"SourcePath": "", "SourcePath": "",
"OutputPath": "../../dist", "OutputPath": "../../dist",
"Main": "modules_core.main", "Main": "modules_core.main",
"EntryPoint": "modules_core", "EntryPoint": "modules-core",
"IncludePackageData": false, "IncludePackageData": false,
"Included": [], "Included": [],
"Excluded": [ "Excluded": [