GeezerVisonThe World Wide Web, restored to 800 pixels of glory. |
| Home|About|Gaming cabinet|Archives|How it works|Starter sites |
GeezerVison is showing github.com — TypeScriptToLua/build-lualib.js at master · newATyork/TypeScriptToLua Expand file tree/ Copy pathbuild-lualib.jsMore file actions 17 lines (14 loc) · 654 Bytes / Copy pathbuild-lualib.jsFile metadata and controls17 lines (14 loc) · 654 Bytes 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 require("ts-node/register/transpile-only"); const fs = require("fs"); const path = require("path"); const ts = require("typescript"); const tstl = require("./src"); const { loadLuaLibFeatures } = require("./src/LuaLib"); const configFileName = path.resolve(__dirname, "src/lualib/tsconfig.json"); const { diagnostics } = tstl.transpileProject(configFileName); diagnostics.forEach(tstl.createDiagnosticReporter(true)); const bundlePath = path.join(__dirname, "dist/lualib/lualib_bundle.lua"); if (fs.existsSync(bundlePath)) { fs.unlinkSync(bundlePath); } fs.writeFileSync(bundlePath, loadLuaLibFeatures(Object.values(tstl.LuaLibFeature), ts.sys)); |
| You are visitor 01402520 — GeezerVison does not store the pages you look up. Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required. |