Expose missing modules.

This commit is contained in:
Gavin Panella 2018-10-25 09:17:02 +02:00
parent 053778cad7
commit eaf71bdcb1
2 changed files with 5 additions and 1 deletions

View File

@ -29,10 +29,13 @@
"Nri.Ui.Dropdown.V2",
"Nri.Ui.Effects.V1",
"Nri.Ui.Fonts.V1",
"Nri.Ui.Html.Attributes.V2",
"Nri.Ui.Html.V2",
"Nri.Ui.Icon.V1",
"Nri.Ui.Icon.V2",
"Nri.Ui.Icon.V3",
"Nri.Ui.InputStyles",
"Nri.Ui.InputStyles.V2",
"Nri.Ui.Modal.V1",
"Nri.Ui.Modal.V2",
"Nri.Ui.Modal.V3",
@ -56,9 +59,9 @@
"Nri.Ui.Table.V1",
"Nri.Ui.Table.V2",
"Nri.Ui.Tabs.V1",
"Nri.Ui.Text.Writing.V1",
"Nri.Ui.Text.V1",
"Nri.Ui.Text.V2",
"Nri.Ui.Text.Writing.V1",
"Nri.Ui.TextArea.V1",
"Nri.Ui.TextArea.V2",
"Nri.Ui.TextArea.V3",

View File

@ -58,6 +58,7 @@ def read_exposed_modules():
if __name__ == "__main__":
available = set(find_v_modules())
exposed = set(read_exposed_modules())
# XXX: Do we need to check that parent modules are exposed too?
missing = available - exposed
for module in sorted(missing):
print("Not exposed:", module, file=sys.stderr)