Bugfixes for the command new

This commit is contained in:
Sven Heidemann 2021-03-31 10:19:54 +02:00
parent b6d508526a
commit c0d8904782

View File

@ -90,7 +90,7 @@ class NewService(CommandABC):
self._project.from_dict(self._project_dict)
def _create_build_settings(self):
main = 'main'
main = f'{self._project.name}.main'
if self._command == ProjectTypeEnum.library.value:
main = f'{self._project.name}_cli.main'