Allow bundling non-Lua files
Opened this issue · 3 comments
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?
yeah, .txt
suffix files will be ignored. I think include_files
is a good idea, will you please contribute a PR for it?
I think a MANIFEST
file similar to Perl's CPAN module is more convenient.
I have to admit I am not familiar with Perl. If we go down the MANIFEST
path, there is also MANIFEST.SKIP
as I just learned from online. Is that going to overlap exclude_files
key in dist.ini in terms of functionality?