lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]


Hi Everyone,
I am getting a weird problem with luarocks-2.0.1 on Linux (x86).
Here are the steps to reproduce it

(1) Download "shake" rock from
http://luarocks.org/repositories/rocks/shake-1.0.1-1.src.rock

(2) install it with
sh$ luarocks build shake-1.0.1-1.src.rock

(3) observe that the entire source tree including Makefile, README,
config, test, etc got installed under
<path_to_Lua>/lib/luarocks/rocks/shake/1.0.1-1

BTW, under luarocks-1.0.1 only relevant files got installed into
lib/luarocks/rocks/

The same problem happens when I call "luarocks make foo.rockspec" in
my own project space. The entire directory that contains foo.rockspec
complete with ".git" repository gets installed under
lib/luarocks/rocks/ tree.

Is there a way to limit what files get installed from the "src" rock?

Any help is greatly appreciated.
--Leo--