lua-zlib icon indicating copy to clipboard operation
lua-zlib copied to clipboard

Made example rockspec

Open jprjr opened this issue 11 years ago • 2 comments

I just made an example rockspec file. This allows lua-zlib to be built and installed with luarocks build ./lua-zlib-git-2014.02.19-1.rockspec

jprjr avatar Feb 20 '14 22:02 jprjr

I just merged this in: https://github.com/optiflows/lua-zlib/commit/33f2d8d6269ff84f6cd491dced567e38e0db5b72 can you compare this change with yours? I'm not to familiar with rockspec format.

Thanks, -Brian

brimworks avatar Feb 21 '14 14:02 brimworks

Well, that other one is missing the flag for using the zlib library - check out lines 29-31 in my file.

The other thing is the source url and tag. You can use a git:// url as source.url and specify a tag with source.tag (I didn't do it that way in my rockspec, I just directly referenced a commit in source.url)

jprjr avatar Feb 21 '14 15:02 jprjr