Commits

Anonymous committed 7b3f8b8

added args.all

Comments (0)

Files changed (1)

         and True != args.copy and True != args.clean \
         and True != args.all:
         raise ArgumentError(None, "You must select at least one build task")
-    if args.clean:
+    if args.clean or args.all:
         ns = parser.parse_args(["clean"])
         ns.verbose = args.verbose
         clean(ns)
         attrs.update(data["sources"][source])
         if args.source is not None and source != args.source:
             continue
-        if args.compile:
+        if args.compile or args.all:
             print("---")
             ns = parser.parse_args(["compile", source, str(attrs['export_width'])])
             ns.verbose = args.verbose
             kompile(ns)
-        if args.resize:
+        if args.resize or args.all:
             print("")
             ns = parser.parse_args(["resize", "-b", str(attrs['base_size']), source, attrs['export_name']])
             ns.verbose = args.verbose
             resize(ns)
-        if args.copy:
+        if args.copy or args.all:
             print("")
             p = ["copy"]
             if "web_launcher" in attrs and attrs["web_launcher"]: