2011/6/28 Ignacio Burgueño <[email protected]>: > On Tue, Jun 28, 2011 at 6:24 PM, Hisham <[email protected]> wrote: >> >> > In this case, it tries to fetch the "sources". Is this because of >> > build.type >> > = "none" ? >> >> I haven't tested it here now, but what I meant was: use "luarocks >> make" on the rockspec, and then "luarocks pack opengl" to pack the >> installed rock into a .rock file, just like you suggested in the other >> message. >> > > Ok, then in this particular case, luarocks pack some.rockspec is not > working. It tries to fetch stuff from the url given in the rockspec. > Do you want me to add a ticket on github?
Sorry, I think I did not make myself clear. Here's a breakdown of the various behaviors. luarocks install modulename --> downloads a binary .rock file and installs it to the local tree (falls back to "luarocks build modulename" behavior if a binary rock is not found) luarocks build modulename --> downloads a .src.rock or a rockspec and builds+installs it to the local tree (falls back to "luarocks install modulename" behavior if a .src.rock or a .rockspec is not found) luarocks build modulename-1.0-1.rockspec --> builds+installs the rock using the given rockspec downloading the sources luarocks make modulename-1.0-1.rockspec --> builds+installs the rock using the rockspec using the contents of your current directory (kind of like the way make uses a Makefile) instead of downloading sources luarocks pack modulename --> grabs the rock from your local tree and packs it into a binary .rock file luarocks pack modulename-1.0-1.rockspec --> downloads the sources from the url and packs it into a .src.rock file -- -- Hisham http://hisham.hm/ - http://colorbleed.com.br/ ------------------------------------------------------------------------------ All of the data generated in your IT infrastructure is seriously valuable. Why? It contains a definitive record of application performance, security threats, fraudulent activity, and more. Splunk takes this data and makes sense of it. IT sense. And common sense. http://p.sf.net/sfu/splunk-d2d-c2 _______________________________________________ Luarocks-developers mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/luarocks-developers
