Skip to content

Commit

Permalink
fixup! add debug logging
Browse files Browse the repository at this point in the history
  • Loading branch information
FreeMasen committed Aug 26, 2021
1 parent 9abc85c commit 1481740
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion main.js
Original file line number Diff line number Diff line change
Expand Up @@ -181,10 +181,16 @@ async function installSystemDependencies() {
}

async function addCMakeBuildScripts(sourcePath, luaVersion) {
debug("addCMakeBuildScripts %s", luaVersion)
if (luaVersion.indexOf("jit") > -1) {
return;
}
debug("addCMakeBuildScripts %s, %s", sourcePath, luaVersion)
fs.unlinkSync(path.join(sourcePath, "src", "luaconf.h"))
debug("removed luaconf.h")
mergeDirectory(path.join(__dirname, "patch", "shared"), sourcePath)
debug("merged patch/shared with %s", sourcePath)
const v = luaVersion.replace(/\.\d*$/,'')
debug("v: %s", v)
mergeDirectory(path.join(__dirname, "patch", "lua", v), sourcePath)
console.log("VERSION: " + v)
showDirectory(sourcePath)
Expand Down

0 comments on commit 1481740

Please sign in to comment.