Allow bundling non-Lua files
Nobody has claimed this yet.
- Dominant language
- Lua
- Stars
- 485
- Forks
- 76
- PR merge metrics
- No merged PRs in 30d
Description
I have a stops_en.txt text file that lists stop-words to omit when generating slug. This text file will be read once during init_by_lua.
When I do opm build, seems like the text file is ignored. Is it because only Lua files are allowed?
Is so, can we enable bundling non-Lua files such as .txt? Perhaps with an include_files key in dist.ini?
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with the opm build entry point and dist.ini handling to see how package files are selected and why stops_en.txt is omitted. Verify the init_by_lua use case and define completion as allowing a configured non-Lua file such as stops_en.txt to be included in the built package without changing existing Lua bundling.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- lua
- Domain
- build-system, cli
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100