Hisham <h <at> hisham.hm> writes:
 
> 
> Your module was just uploaded. Thank you for contributing!
> 

Thanks.
I have one more question.
In my module i have several optional dependencies.
lua-iconv is used for transcoding text content, lua-crypto is used to
support auth apop/cmd5 and so on.
Also auth apop/cmd5 can use some other md5+bit modules.
How i should describe this dependencies?
For now i use tests and if some functionality is not available i fail test
and output descriptive message.
But luarocks do not run tests after installation.
I think about rockspecs for certain functionality only.
This rockspecs can contain no modules, but just dependencies.
For example 
> package = "pop3-auth-cmd5"
> version = "0.1.2-1"
> dependencies = {
>   "pop3 >= 0.1.2";
>   "lua-crypto >= 0.2";
> }

Or just describe all this dependencies in README and forget?



------------------------------------------------------------------------------
Precog is a next-generation analytics platform capable of advanced
analytics on semi-structured data. The platform includes APIs for building
apps and a phenomenal toolset for data science. Developers can use
our toolset for easy data analysis & visualization. Get a free account!
http://www2.precog.com/precogplatform/slashdotnewsletter
_______________________________________________
Luarocks-developers mailing list
Luarocks-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/luarocks-developers

Reply via email to