jazzdotdev / jazzdotdev/flute

unify package loader with lua's package.searchers

Open
#43 3 comments 0 reactions 1 assignee Claimed by @aleksanderwlodarczyk View on GitHub
landmark/1 progress/1 track/wip
Dominant language
Lua
Stars
17
Forks
4
PR merge metrics
No merged PRs in 30d

Description

Look into [package.searchers](https://www.lua.org/manual/5.3/manual.html#pdf-package.searchers) and implement a searcher function to require packages as if they were regular lua modules. The packages should have a modules directory and in there the submodules to be required, for example a package with this structure:

- packages
- my-package
- actions
- rules
- modules
- submodule

submodule would be maybe a helper functions or something like that, and in lua it would be used with `require("my-package.submodule")`

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.