John Hind <john.hind@...> writes: > > I'm still having trouble getting up and running on luarocks. I'd be grateful > if an expert could have a look at my repository at: > > https://github.com/JohnHind/Lua_Bitfield/ > > and advise if the rockspec looks OK. > > When I try this version on my Windows 8 (64 bit) computer, it complains > about 'git' not being recognised as a command.
This is why i prefer use HTTP+zip instead of git. Luarocks does not contain git so if you want use git you have to install it manually. Or you can use zip: source = { url = "https://github.com/JohnHind/Lua_Bitfield/archive/master.zip", dir = "Lua_Bitfield-master", } For specific version i create tag like `v0.1.2` And in rockspec i use source = { url = "https://github.com/moteus/lua-odbc/archive/v0.2.0.zip", dir = "lua-odbc-0.2.0", } PS. I think this is good practice to define top supported lua version: dependencies = { "lua >= 5.1, < 5.3", } ------------------------------------------------------------------------------ October Webinars: Code for Performance Free Intel webinars can help you accelerate application performance. Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most from the latest Intel processors and coprocessors. See abstracts and register > http://pubads.g.doubleclick.net/gampad/clk?id=60134791&iu=/4140/ostg.clktrk _______________________________________________ Luarocks-developers mailing list Luarocks-developers@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/luarocks-developers