Skip to content

nestly.scons.name_targets could be improved with func_name #19

@metasoarous

Description

@metasoarous

From the docs:

name_targets() does not preserve the name of the decorated function, so the name of the target must be provided as a parameter to add_target().

This can be avoided by assigning wrap.func_name = func.func_name in the name_targets source.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions