[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: help with rockspec
- From: Peter Cawley <lua@...>
- Date: Fri, 9 Jul 2010 16:36:59 +0100
On Fri, Jul 9, 2010 at 3:28 PM, Valerio Schiavoni
<valerio.schiavoni@gmail.com> wrote:
> hello,
> i'm trying to package a library using luarocks. I did the followeing
> rockspec file, but executing it returns me the error:
>
> Error: Could not load rockspec file
> /Users/veleno/workspace/unine-svn/code/trunk/splayd-0.9621-1.rockspec
> (/Users/veleno/workspace/unine-svn/code/trunk/splayd-0.9621-1.rockspec:27:
> unexpected symbol near '[')
>
> ["splay_core.so"]=["splay.so"], --[[ HERE IS LINE 27]]
In tables, you write ["some key"] = "some value", not ["some key"] =
["some value"].