deploy-ng: Error if both gui_apps and console_apps is empty

This commit is contained in:
Mitchell Stokes 2017-12-05 19:55:18 -08:00
parent 6105f386c0
commit e4730dca00
1 changed files with 1 additions and 0 deletions

View File

@ -117,6 +117,7 @@ class build_apps(distutils.core.Command):
self.plugins = _parse_list(self.plugins)
assert os.path.exists(self.requirements_path), 'Requirements.txt path does not exist: {}'.format(self.requirements_path)
assert num_gui_apps + num_console_apps != 0, 'Must specify at least one app in either gui_apps or console_apps'
def run(self):
if not self.platforms: