[*] bug fix

This commit is contained in:
Reece Wilson 2023-12-12 15:39:36 +00:00
parent 85a130e167
commit 9724a3eb35
2 changed files with 6 additions and 5 deletions

View File

@ -45,8 +45,9 @@ local addBuildCommand = function(when, scriptType, path, cwdRelToProject, args)
-- Aurora.Settings could take up too much of the win32 max command line buffer (8191 characters)
-- This seems like a lot, but it should be well within the 8k limit
-- Abs can be skipped and i really dont believe we need the other settings
local settings = {}
if (Aurora.Settings.bActionsIncludeFull) then
local settings =
settings =
{
sAbsRoot = Aurora.Settings.sAbsRoot,
sAbsAuRoot = Aurora.Settings.sAbsAuRoot,
@ -66,7 +67,7 @@ local addBuildCommand = function(when, scriptType, path, cwdRelToProject, args)
}
command = command .. " --settings=" .. base64.encode(json.encode(settings))
else
local settings =
settings =
{
sAbsRoot = Aurora.Settings.sAbsRoot,
sRelAuRoot = Aurora.Settings.sRelAuRoot,

View File

@ -77,8 +77,8 @@ local function addVisit(ina)
local remoteLua = path .. "/Aurora.lua"
local remoteJson = path .. "/Aurora.json"
local localJson = cwd .. Aurora.Settings.sRelRepoScripts .. "/" .. args.name .. ".aurora.json"
local localLua = cwd .. Aurora.Settings.sRelRepoScripts .. "/" .. args.name .. ".aurora.lua"
local localJson = Aurora.Settings.sAbsRepoScripts .. "/" .. args.name .. ".aurora.json"
local localLua = Aurora.Settings.sAbsRepoScripts .. "/" .. args.name .. ".aurora.lua"
if (os.isfile(localLua)) then
project.processor = auRequireAbs(localLua)(info)
@ -485,7 +485,7 @@ end
local function addFeature(feature)
--print("adding feature ", feature)
local script = Aurora.Settings.sAbsRoot .. Aurora.Settings.sRelScripts .. "/Features/" .. feature:lower() .. ".lua"
local script = Aurora.Settings.sAbsScripts .. "/Features/" .. feature:lower() .. ".lua"
if (not os.isfile(script)) then
auFatal("missing feature", feature, script)