You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

15 lines
526 B

include "library";
# This filters out modules with "interesting" deps
def filterVariantTransitions:
.[] | transformModuleReferences(emptyIfNull | removeLinkVariation | removeEmptyVariations) |
filterMatchingDeps | select(.Deps | length > 0) |
depDelta(.Variations) | depDelta(.DependencyVariations) |
transformModule(flattenVariations) |
deleteDependencyVariations |
.Deps |= map(deleteDependencyVariations) |
.Deps |= groupDeps
;
[filterVariantTransitions] | sort_by(.Name) | sort_by(.Type) | .[]