More bugfixes & added generated test projects

This commit is contained in:
2021-05-19 08:28:59 +02:00
parent 128fda60b0
commit 8fb570468c
48 changed files with 166 additions and 67 deletions

View File

@@ -0,0 +1,15 @@
{
"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

@@ -0,0 +1,8 @@
{
"WorkspaceSettings": {
"DefaultProject": "simple-app",
"Projects": {
"simple-app": "src/simple_app/simple-app.json"
}
}
}

View File

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

View File

@@ -1,6 +1,6 @@
from cpl.application import ApplicationBuilder
from application import Application
from simple_app.application import Application
def main():

View File

@@ -16,7 +16,7 @@
"LicenseName": "",
"LicenseDescription": "",
"Dependencies": [
"sh_cpl==2021.4.2"
"sh_cpl==2021.4.1rc2"
],
"PythonVersion": ">=3.9.2",
"PythonPath": {
@@ -26,9 +26,9 @@
},
"BuildSettings": {
"ProjectType": "console",
"SourcePath": "src",
"OutputPath": "dist",
"Main": "main",
"SourcePath": "",
"OutputPath": "../../dist",
"Main": "simple_app.main",
"EntryPoint": "simple-app",
"IncludePackageData": false,
"Included": [],
@@ -37,6 +37,7 @@
"*/logs",
"*/tests"
],
"PackageData": {}
"PackageData": {},
"ProjectReferences": []
}
}