|
|
@ -89,8 +89,10 @@ def generate(pvd: str) -> None:
|
|
|
|
pngs = list(filter(lambda f: f.endswith(".png"), files))
|
|
|
|
pngs = list(filter(lambda f: f.endswith(".png"), files))
|
|
|
|
paths = list(filter(lambda f: "rounded" not in f, pngs))
|
|
|
|
paths = list(filter(lambda f: "rounded" not in f, pngs))
|
|
|
|
|
|
|
|
|
|
|
|
# Build the provider itself.
|
|
|
|
# Skip the top-root directory.
|
|
|
|
typ = os.path.basename(root)
|
|
|
|
typ = os.path.basename(root)
|
|
|
|
|
|
|
|
if typ == pvd:
|
|
|
|
|
|
|
|
continue
|
|
|
|
|
|
|
|
|
|
|
|
resource_root = os.path.relpath(root, base)
|
|
|
|
resource_root = os.path.relpath(root, base)
|
|
|
|
classes = gen_classes(pvd, typ, paths)
|
|
|
|
classes = gen_classes(pvd, typ, paths)
|
|
|
|