Cleaned workspace

This commit is contained in:
Sven Heidemann 2022-07-16 19:05:39 +02:00
parent 21a664c596
commit f8cd150f72
8 changed files with 6 additions and 102 deletions

View File

@ -3,8 +3,6 @@
"DefaultProject": "bot", "DefaultProject": "bot",
"Projects": { "Projects": {
"bot": "src/bot/bot.json", "bot": "src/bot/bot.json",
"bot-commands": "src/bot_commands/bot-commands.json",
"bot-events": "src/bot_events/bot-events.json",
"bot-core": "src/bot_core/bot-core.json", "bot-core": "src/bot_core/bot-core.json",
"bot-data": "src/bot_data/bot-data.json" "bot-data": "src/bot_data/bot-data.json"
}, },

View File

@ -16,9 +16,10 @@
"LicenseName": "MIT", "LicenseName": "MIT",
"LicenseDescription": "MIT, see LICENSE for more details.", "LicenseDescription": "MIT, see LICENSE for more details.",
"Dependencies": [ "Dependencies": [
"cpl-core>=2022.7.0", "cpl-core>=2022.7.0.post1",
"cpl-translation==2022.7.0", "cpl-translation==2022.7.0",
"cpl-query==2022.7.0" "cpl-query==2022.7.0",
"cpl-discord==2022.7.0"
], ],
"DevDependencies": [ "DevDependencies": [
"cpl-cli>=2022.7.0.post1" "cpl-cli>=2022.7.0.post1"

View File

@ -14,5 +14,4 @@ async def main():
if __name__ == '__main__': if __name__ == '__main__':
ml = asyncio.get_event_loop() asyncio.run(main())
ml.run_until_complete(main())

View File

@ -9,8 +9,8 @@ class Startup(StartupABC):
def __init__(self): def __init__(self):
StartupABC.__init__(self) StartupABC.__init__(self)
async def configure_configuration(self, configuration: ConfigurationABC, environment: ApplicationEnvironment) -> ConfigurationABC: def configure_configuration(self, configuration: ConfigurationABC, environment: ApplicationEnvironment) -> ConfigurationABC:
return configuration return configuration
async def configure_services(self, services: ServiceCollectionABC, environment: ApplicationEnvironment) -> ServiceProviderABC: def configure_services(self, services: ServiceCollectionABC, environment: ApplicationEnvironment) -> ServiceProviderABC:
return services.build_service_provider() return services.build_service_provider()

View File

@ -1 +0,0 @@
# imports:

View File

@ -1,46 +0,0 @@
{
"ProjectSettings": {
"Name": "bot-commands",
"Version": {
"Major": "1",
"Minor": "0",
"Micro": "0.dev1"
},
"Author": "Sven Heidemann",
"AuthorEmail": "sven.heidemann@sh-edraft.de",
"Description": "Keksdose bot - commands",
"LongDescription": "Discord bot for the Keksdose discord Server - command package",
"URL": "https://www.sh-edraft.de",
"CopyrightDate": "2022",
"CopyrightName": "sh-edraft.de",
"LicenseName": "MIT",
"LicenseDescription": "MIT, see LICENSE for more details.",
"Dependencies": [
"cpl-core>=2022.7.0"
],
"DevDependencies": [
"cpl-cli>=2022.7.0"
],
"PythonVersion": ">=3.10.4",
"PythonPath": {
"linux": ""
},
"Classifiers": []
},
"BuildSettings": {
"ProjectType": "console",
"SourcePath": "",
"OutputPath": "../../dist",
"Main": "",
"EntryPoint": "",
"IncludePackageData": false,
"Included": [],
"Excluded": [
"*/__pycache__",
"*/logs",
"*/tests"
],
"PackageData": {},
"ProjectReferences": []
}
}

View File

@ -1 +0,0 @@
# imports:

View File

@ -1,46 +0,0 @@
{
"ProjectSettings": {
"Name": "bot-events",
"Version": {
"Major": "1",
"Minor": "0",
"Micro": "0.dev1"
},
"Author": "Sven Heidemann",
"AuthorEmail": "sven.heidemann@sh-edraft.de",
"Description": "Keksdose bot - events",
"LongDescription": "Discord bot for the Keksdose discord Server - event package",
"URL": "https://www.sh-edraft.de",
"CopyrightDate": "2022",
"CopyrightName": "sh-edraft.de",
"LicenseName": "MIT",
"LicenseDescription": "MIT, see LICENSE for more details.",
"Dependencies": [
"cpl-core>=2022.7.0"
],
"DevDependencies": [
"cpl-cli>=2022.7.0"
],
"PythonVersion": ">=3.10.4",
"PythonPath": {
"linux": ""
},
"Classifiers": []
},
"BuildSettings": {
"ProjectType": "console",
"SourcePath": "",
"OutputPath": "../../dist",
"Main": "",
"EntryPoint": "",
"IncludePackageData": false,
"Included": [],
"Excluded": [
"*/__pycache__",
"*/logs",
"*/tests"
],
"PackageData": {},
"ProjectReferences": []
}
}