def rules(): return [ # project_info *cloc.rules(), *filedeps.rules(), *list_backends.rules(), *list_roots.rules(), *list_target_types.rules(), *list_targets.rules(), *list_targets_old.rules(), # goals *binary.rules(), *fmt.rules(), *lint.rules(), *repl.rules(), *run.rules(), *test.rules(), # util_rules *determine_source_files.rules(), *distdir.rules(), *filter_empty_sources.rules(), *strip_source_roots.rules(), # other *target_rules(), ]
def rules(cls): return ( *super().rules(), *determine_source_files_rules(), *strip_source_roots_rules(), *target_rules(), )
def rules(): return [ determine_configurations_with_sources, determine_targets_with_sources, RootRule(ConfigurationsWithSourcesRequest), RootRule(TargetsWithSourcesRequest), *target_rules(), ]
def rules(): return [ strip_source_roots_from_snapshot, strip_source_roots_from_sources_field, subsystem_rule(SourceRootConfig), RootRule(StripSnapshotRequest), RootRule(StripSourcesFieldRequest), *target_rules(), ]
def rules(cls): return ( *super().rules(), *target_rules(), RootRule(TargetsWithOrigins), UnionRule(cls.ConfigSuperclass, cls.ConfigSubclass1), UnionRule(cls.ConfigSuperclass, cls.ConfigSubclass2), UnionRule(cls.ConfigSuperclassWithOrigin, cls.ConfigSubclassWithOrigin), )
def rules(): return [ *cloc.rules(), *binary.rules(), *fmt.rules(), *lint.rules(), *list_roots.rules(), *list_targets.rules(), *determine_source_files.rules(), *filedeps.rules(), *repl.rules(), *run.rules(), *strip_source_roots.rules(), *distdir.rules(), *test.rules(), *target_rules(), ]
def rules(cls): return (*super().rules(), *target_rules(), RootRule(HydrateSourcesRequest))
def rules(cls): return (*super().rules(), *filedeps.rules(), *target_rules())
def rules(cls): return [*target_rules(), RootRule(SourcesRequest)]