Hi, I created a new branch in the LuaRocks Github repo, "context-object":
https://github.com/keplerproject/luarocks/tree/context-object There are some features and fixes I want to do that will require some wider tweaking in LuaRocks, and I figured it was about time to get rid of the global state or else things would go out of hand. I've started to pass around a "lr" table to the run() functions of commands, and I also introduced a "luarocks.init" module to start exposing an organized LuaRocks API through require("luarocks"). There is still much to do -- I'm not actually storing all the state in "lr" yet nor forwarding it to every function (refactoring code in dynamic languages is such a pain) but the branch should be in a working state. Bug reports with regard to to this branch are more than welcome. Please give it a spin and let me know what's broken. Thank you, -- Hisham http://hisham.hm/ ------------------------------------------------------------------------------ This SF email is sponsosred by: Try Windows Azure free for 90 days Click Here http://p.sf.net/sfu/sfd2d-msazure _______________________________________________ Luarocks-developers mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/luarocks-developers
