Hi, list!
OS X 10.6.4
Luarocks 2.0.1
I made a small Lua-only binary which depends on a couple of rocks:
http://github.com/agladysh/json2lua
Now I'm thinking to write a rockspec for it — I think that LR has
support for this.
My rockspec is below (don't add it yet :) )
When I run sudo luarocks install <rockspec-file>, it installs fine,
but json2lua executable is nowhere in path.
Okay, it is put into /usr/local/lib/luarocks/bin/, which is not in my
path. I've added it, no problem. (BTW, what is the default location
for locally /non-sudo/ installed rocks' binaries?)
But there is another problem: The installed file,
/usr/local/lib/luarocks/bin/json2lua
is not executable! Is this intentional? My original file had executable bit on.
Looks like I'm misunderstanding something (or should upgrade to 2.0.2).
Alexander.
package = "json2lua"
version = "scm-1"
source = {
url = "git://github.com/agladysh/json2lua.git",
branch = "master"
}
description = {
summary = "A command-line tool to convert JSON to Lua",
homepage = "http://github.com/agladysh/json2lua",
license = "MIT/X11"
}
dependencies = {
"lua >= 5.1",
"luajson",
"lua-nucleo"
}
build = {
type = "none",
install = {
bin = {
["json2lua"] = "json2lua"
}
}
}
_______________________________________________
Luarocks-developers mailing list
[email protected]
http://lists.luaforge.net/cgi-bin/mailman/listinfo/luarocks-developers