Alexey Melnichuk

Results 134 comments of Alexey Melnichuk

``` C:\lua\test>md src C:\lua\test>touch src\test.txt C:\lua\test>md dst ``` ``` LUA package.path = package.path .. ';' .. [[c:\Lua\LuaRocks\lua\?.lua;c:\Lua\LuaRocks\lua\?\init.lua]] local cfg = require "luarocks.cfg" local fs = require "luarocks.fs" cfg.verbose = true...

Windows XP. Tomorrow I test on Win 7.

Ok. I found 2 things. 1. On my old LR 2.2 it works because LR did not quote source parameter. It changed in https://github.com/keplerproject/luarocks/commit/c54cbfc6d678d4ab6ec94daf6791fe9d4e4a7d4e 2. On Win7 and on Win2k3...

> busted accepts --lua to pick a lua executable. Yes. But bat wrapper redefine LUA_PATH/LUA_CPATH so as resulte there may be some problem

Problem is that dll should export `luaopen_ssl_core`, `luaopen_ssl_context` etc. But luarocks make .def file while building using MSVC compiler with function `luaopen_ssl`. But `ssl.dll` has not such function and build...

in luasec you have ssl.dll which exports several luaopen_ssl_xxx functions and ssl.lua which uses this dll.

I mean upload multiple rocks for each Lua version. I make binary rocks and theirs names are same for any Lua version.

Maybe its possible create several rockspec files for the same version but for different Lua and then build rocks for them?

The main idea with [WINVER](https://msdn.microsoft.com/ru-ru/library/windows/desktop/aa383745%28v=vs.85%29.aspx) is restrict use some features not avaliable on targes OS. E.g. I compile binary on Windows 7 for Win2k3. MSVC will use by default Windows...

This is basic version based on `ver` command. ``` Lua local function decode_winver(str) local pat = "(%d+)%.(%d+)%.(%d+)%]%s*$" return string.match(str, pat) end local function winver() local f, e = io.popen('ver', 'r')...