Skip to content

local module hashing #8015

@dezren39

Description

@dezren39

as a nix user it would be nice if roc supported hashing for non-remote-url destinations.

specifically,

  • a local tar file
  • a local directory with a main file

one idea:

  • right now the module location is either URL or localFilePath
  • continue allowing localfilepath but going forward
  • enable 'file' schema and implement ?hash
    • allow tar, tar.br, tar.gz files
    • allow ./localDir/main.roc to be used (perform appropriate bundling to obtain hash if needed)

references:

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions