nitc :: Catalog :: build_catalog
# Build the catalog for Nitx
private fun build_catalog(model: Model, filter: nullable ModelFilter) do
# Scan all modules of collected packages
for p in model.collect_mpackages(filter) do
var g = p.root
assert g != null
modelbuilder.scan_group(g)
end
# Build the catalog
for mpackage in model.collect_mpackages(filter) do
package_page(mpackage)
git_info(mpackage)
mpackage_stats(mpackage)
end
end
src/nitx.nit:122,2--136,4