[Luarocks-developers] first moonrocks upload :-)
Brought to you by:
loderunner
|
From: Peter B. <pj...@pj...> - 2014-06-07 23:55:54
|
Greetings. I managed to fall into two little traps; might be useful to put them on the record here: Mostly, moonrocks works under lua5.1 or 5.2; But, for moonrocks upload it needs to have been installed under 5.1, and then run under 5.1. Otherwise, upload gives a Error: attempt to call global 'setfenv' (a nil value) For upload, the rockspec must be in current directory. Thus: moonrocks upload ~/www/comp/lua/commandlineui-1.72-0.rockspec fails at the .src.rock step with: Filename must be in format `commandlineui-VERSION.ARCH.rock` but: cd ~/www/comp/lua/ moonrocks upload commandlineui-1.72-0.rockspec seems to work fine :-) So I think I'm on my way now... Peter Billam P.S. http://luarocks.org/en/Creating_a_rock may need updating. http://www.pjb.com.au pj...@pj... (03) 6278 9410 "Follow the charge, not the particle." -- Richard Feynman from The Theory of Positrons, Physical Review, 1949 |