-
Notifications
You must be signed in to change notification settings - Fork 36
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
rockspec format fix ? #27
base: master
Are you sure you want to change the base?
Conversation
@tst2005 I am not an expert on Luarocks and the rockspec format, but why is it necessary to change type to "builtin"? The "none" type is described as "Indicates that there is no build to perform " (https://github.com/luarocks/luarocks/wiki/Rockspec-format#none) and surely that works for Telescope? |
@britzl Unfortunatly I don't have time to test the different behavior to see what is the best. |
Thanks, I was just curious about the choice. |
In fact, at the origin, I did it not to provide a telescope package for luarocks ! My goal was to generate a uniq I had made a tool to take all files of a project and build an all-in-one file. It was the best way I found to make lua code with lot of modules, but use/distribute the result in one file (one module embedding all sub-modules or one executable script embedding all modules). I try to make an all-in-one file for some projects I discover the need to ask what is contained inside the bundle and ideally deals with different versions... I defined my own simple format : each all-in-one module will also have his own information module. The results were here. For sample $ lua -l for.json.use.json ...
$ lua -l for.json.use.cjson ...
$ lua -l for.json.use.lunajson ...
$ lua -l for.json.use.default ...
$ lua -l lfs ...
$ lua -l for.lfs.use.syscall.lfs ...
$ lua -l lpeg ...
$ lua -l for.lpeg.use.lulpeg ...
$ lua -l for.class.use.mini.class ... I hope you will not regret to be curious ! :-D |
Thank you for explaining the reasoning behind it! 👍 |
Hello,
I played to make all-in-one file for telescope (a
tsc
embeding all dependencies).I never found the
built.type = "none"
.I'm often found the format like I changed.
Let me know your opinion.
Best Regards,