Skip to content

enabled should be parsed before targets #60

@finnvyrn

Description

@finnvyrn

The following won't run on Android Termux (deployment error: egg targets must be a string or a map)

"fonts": #{
        targets: if SYSTEM.platform == "Linux" { "~/.local/share/fonts" } else if SYSTEM.platform == "Mac OS" { "~/Library/Fonts" },
        enabled: SYSTEM.platform == "Linux" || SYSTEM.platform == "Mac OS",
    },

Only the following can run:

"fonts": #{
        targets: if SYSTEM.platform == "Linux" { "~/.local/share/fonts" } else { "~/Library/Fonts" },
        enabled: SYSTEM.platform == "Linux" || SYSTEM.platform == "Mac OS",
    },

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions