Skip to content

rockspec conventions #15

@goldenstein64

Description

@goldenstein64

Addons designed for LuaRocks will probably need to follow certain conventions so they can be easily identified and discovered.

This is what I propose:

  • The package field (its name) should start with lls-addon-, to clearly differentiate them from normal rocks that offer functionality at runtime.

  • If the addon reflects the types of an existing module, like penlight:

    • the package field should also reflect the original rock's package name, e.g. lls-addon-penlight.
    • the version field should start with the original rock's version followed by a dot and the addon rock's version, e.g. 1.14.0.1.0-1. Hopefully, this should make it so that if a rock decides to make the addon rock a build dependency, it only needs to specify something like "lls-addon-penlight ~> 1.14.0.1".

Metadata

Metadata

Assignees

No one assigned

    Labels

    documentationImprovements or additions to documentation

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions