(target: tstl.LuaTarget)
| 14 | import { resolveLuaLibDir } from "../src/LuaLib"; |
| 15 | |
| 16 | function readLuaLib(target: tstl.LuaTarget) { |
| 17 | return fs.readFileSync(path.join(resolveLuaLibDir(target), "lualib_bundle.lua"), "utf8"); |
| 18 | } |
| 19 | |
| 20 | function jsonLib(target: tstl.LuaTarget): string { |
| 21 | const fileName = target === tstl.LuaTarget.Lua50 ? "json.50.lua" : "json.lua"; |
no test coverage detected