[+] Infinite action arg length via a temp file
[-] Old spurious comment and dbg print
This commit is contained in:
parent
45e42e7122
commit
2b27da2c2c
@ -123,7 +123,8 @@ local addBuildCommand = function(when, scriptType, path, cwdRelToProject, args)
|
||||
sRelShip = Aurora.Settings.sRelShip,
|
||||
sRelWd = Aurora.Settings.sRelWd,
|
||||
sRelSymbols = Aurora.Settings.sRelSymbols,
|
||||
sRelLinkLibs = Aurora.Settings.sRelLinkLibs
|
||||
sRelLinkLibs = Aurora.Settings.sRelLinkLibs,
|
||||
sRelCompilerWd = Aurora.Settings.sRelCompilerWd
|
||||
}
|
||||
command = command .. " --settings=" .. base64.encode(json.encode(settings))
|
||||
|
||||
@ -150,7 +151,10 @@ local addBuildCommand = function(when, scriptType, path, cwdRelToProject, args)
|
||||
end
|
||||
|
||||
if (args) then
|
||||
command = command .. " --additional=\"" .. base64.encode(args) .. "\""
|
||||
local buf = args--base64.encode(args)
|
||||
local hash = string.sha1(buf)
|
||||
io.writefile(_G.path.join(Aurora.Settings.sAbsCompilerWd, hash .. ".args"), buf)
|
||||
command = command .. " --additional=\"" .. hash .. "\""
|
||||
end
|
||||
|
||||
if (scriptType == "lua") then
|
||||
|
@ -76,7 +76,9 @@ end
|
||||
|
||||
local args = _OPTIONS["additional"]
|
||||
if (args) then
|
||||
args = base64.decode(args)
|
||||
local path = _G.path.join(Aurora.Settings.sAbsCompilerWd, args .. ".args")
|
||||
local argFileContents = io.readfile(path)
|
||||
args = argFileContents
|
||||
end
|
||||
|
||||
local binSuffx = ""
|
||||
|
@ -9,8 +9,6 @@ for s in ciaData:gmatch("[^\r\n]+") do
|
||||
table.insert(exports, s)
|
||||
end
|
||||
|
||||
-- so, we can't pull the target module name until we've actually built the binary
|
||||
-- we'll just have to guess for now
|
||||
local dllName = auBuild.projectTargetName .. ".dll"
|
||||
|
||||
local buffer = ""
|
||||
|
@ -1,5 +1,3 @@
|
||||
print("hello paths")
|
||||
|
||||
if (not Aurora.Settings.sAbsRoot) then
|
||||
Aurora.Settings.sAbsRoot = os.realpath(os.getcwd() .. "/../..") .. "/"
|
||||
end
|
||||
|
Loading…
Reference in New Issue
Block a user