Skip to content

Commit 1481740

Browse files
author
Robert Masen
committed
fixup! add debug logging
1 parent 9abc85c commit 1481740

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

main.js

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -181,10 +181,16 @@ async function installSystemDependencies() {
181181
}
182182

183183
async function addCMakeBuildScripts(sourcePath, luaVersion) {
184-
debug("addCMakeBuildScripts %s", luaVersion)
184+
if (luaVersion.indexOf("jit") > -1) {
185+
return;
186+
}
187+
debug("addCMakeBuildScripts %s, %s", sourcePath, luaVersion)
185188
fs.unlinkSync(path.join(sourcePath, "src", "luaconf.h"))
189+
debug("removed luaconf.h")
186190
mergeDirectory(path.join(__dirname, "patch", "shared"), sourcePath)
191+
debug("merged patch/shared with %s", sourcePath)
187192
const v = luaVersion.replace(/\.\d*$/,'')
193+
debug("v: %s", v)
188194
mergeDirectory(path.join(__dirname, "patch", "lua", v), sourcePath)
189195
console.log("VERSION: " + v)
190196
showDirectory(sourcePath)

0 commit comments

Comments
 (0)