luaunit icon indicating copy to clipboard operation
luaunit copied to clipboard

Where does the luaunit.lua go?

Open eabase opened this issue 10 months ago • 2 comments

You README states:

Then copy the file luaunit.lua into your project or the Lua libs directory.

I don't have any "libs" directory under my LuaJIT installation. I have this:

.
├── lua
│   └── jit
│       ├── bc.lua
│       ├── bcsave.lua
│       ├── dis_arm.lua
│       ├── dis_arm64.lua
│       ├── dis_arm64be.lua
│       ├── dis_mips.lua
│       ├── dis_mips64.lua
│       ├── dis_mips64el.lua
│       ├── dis_mips64r6.lua
│       ├── dis_mips64r6el.lua
│       ├── dis_mipsel.lua
│       ├── dis_ppc.lua
│       ├── dis_x64.lua
│       ├── dis_x86.lua
│       ├── dump.lua
│       ├── p.lua
│       ├── v.lua
│       ├── vmdef.lua
│       └── zone.lua
├── lua51.dll
└── luajit.exe

So where should it go?

PS. I'm on Windows-11.

eabase avatar Feb 23 '25 08:02 eabase

I found it, has to go under: ./lua/, and not under ./lua/jit/. (There is no ./libs in Windows LuaJIT!)

Please write this in your README!

eabase avatar Feb 23 '25 08:02 eabase

I reopen, because you should add this to the README to prevent wasting peoples time.

eabase avatar Feb 23 '25 08:02 eabase