From e4730dca00c94cb77683b61f906d18ad78bfda78 Mon Sep 17 00:00:00 2001 From: Mitchell Stokes Date: Tue, 5 Dec 2017 19:55:18 -0800 Subject: [PATCH] deploy-ng: Error if both gui_apps and console_apps is empty --- direct/src/showutil/dist.py | 1 + 1 file changed, 1 insertion(+) diff --git a/direct/src/showutil/dist.py b/direct/src/showutil/dist.py index e84530d628..a4a0caa68b 100644 --- a/direct/src/showutil/dist.py +++ b/direct/src/showutil/dist.py @@ -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: