Hi all,

This is a very old-school solution to the problem of constructing
rockspecs.  It will ask you questions (trying to make intelligent
guesses about the defaults) and will generate a rockspec from that
session.

It is still young and un-exercised but does simple configurations
well. It understands external dependencies and per-platform
dependencies, but can get confused if asked to do both of these
together ;)

In an ideal universe, where there were thousands of people wanting to
create rockspecs and a universal cross-platform Lua GUI toolkit, it
should be a proper GUI application, but rough-and-ready as it is, it
may be already useful.  A non-so-interactive mode for the really
impatient who need to convert simple scripts/modules is under
investigation.

http://github.com/stevedonovan/LuaRocksTools/blob/master/rockspecifier/

$ sudo luarocks install
http://github.com/stevedonovan/LuaRocksTools/raw/master/rockspecifier/rockspecifier-0.5-1.rockspec

(no git needed - pulls the file directly from github downloads)

I used the tool to generate its own rockspec - but looking at the
commit history you will see a classic newbie mistake - forgetting to
manually update the summary fields ;)

steve d.

_______________________________________________
Luarocks-developers mailing list
[email protected]
http://lists.luaforge.net/cgi-bin/mailman/listinfo/luarocks-developers

Reply via email to