Bugfixes
This commit is contained in:
@@ -103,15 +103,19 @@ class PublisherService(PublisherABC):
|
||||
relative_path = os.path.relpath(r)
|
||||
file_path = os.path.join(relative_path, os.path.relpath(sub_file))
|
||||
|
||||
print(file_path)
|
||||
self._included_files.append(os.path.relpath(file_path))
|
||||
|
||||
elif os.path.isfile(rel_path):
|
||||
print(rel_path)
|
||||
self._included_files.append(rel_path)
|
||||
|
||||
for r, d, f in os.walk(self._build_settings.source_path):
|
||||
for file in f:
|
||||
relative_path = os.path.relpath(r)
|
||||
file_path = os.path.join(relative_path, os.path.relpath(file))
|
||||
if self._is_path_excluded(relative_path):
|
||||
break
|
||||
|
||||
if len(d) > 0:
|
||||
for directory in d:
|
||||
@@ -243,7 +247,7 @@ class PublisherService(PublisherABC):
|
||||
except Exception as e:
|
||||
Console.error('Could not find entry point', str(e))
|
||||
|
||||
if main is None:
|
||||
if main is None or not hasattr(main, 'main'):
|
||||
Console.error('Could not find entry point')
|
||||
return
|
||||
|
||||
|
Reference in New Issue
Block a user