lua-users home
lua-l archive

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


On Wed, Aug 10, 2011 at 11:05 PM, Josh Simmons <simmons.44@gmail.com> wrote:
> On Thu, Aug 11, 2011 at 11:59 AM, Robert G. Jakabosky
> <bobby@sharedrealm.com> wrote:
>> On Wednesday 10, Josh Simmons wrote:
>>> On Thu, Aug 11, 2011 at 11:18 AM, Robert G. Jakabosky
>>>
>>> <bobby@sharedrealm.com> wrote:
>>> > Why do you need to create tarballs for luarocks?
>>>
>>> Because you can't specify a git tag or branch when using the luarocks scm
>>> stuff.
>>
>> Yes you can.  I use git tags for my luarocks releases.  Looks like the
>> luarocks rockspec format documentation is missing info about the
>> "source.branch" setting.
>>
>> Example:
>> source = {
>>  url = "git://github.com/Neopallium/lua-zmq.git",
>>  branch = "v1.1",
>> }
>>
>> The tarball links are only for non-luarocks packaging/install (i.e. for Linux
>> distro packaging).
>>
>> --
>> Robert G. Jakabosky
>>
>>
>
> Well that little tidbit just made my life easier. I wish somebody
> would go ahead and document luarocks properly.

Documentation is an ongoing challenge and the luarocks.org website is
a wiki, so everyone is welcome to help. I just added that information
to the rockspec format page.

http://luarocks.org/en/Rockspec_format

-- 
-- Hisham
http://hisham.hm/ - http://colorbleed.com.br/