[*] bug fix
This commit is contained in:
parent
85a130e167
commit
9724a3eb35
@ -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)
|
-- 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
|
-- 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
|
-- Abs can be skipped and i really dont believe we need the other settings
|
||||||
|
local settings = {}
|
||||||
if (Aurora.Settings.bActionsIncludeFull) then
|
if (Aurora.Settings.bActionsIncludeFull) then
|
||||||
local settings =
|
settings =
|
||||||
{
|
{
|
||||||
sAbsRoot = Aurora.Settings.sAbsRoot,
|
sAbsRoot = Aurora.Settings.sAbsRoot,
|
||||||
sAbsAuRoot = Aurora.Settings.sAbsAuRoot,
|
sAbsAuRoot = Aurora.Settings.sAbsAuRoot,
|
||||||
@ -66,7 +67,7 @@ local addBuildCommand = function(when, scriptType, path, cwdRelToProject, args)
|
|||||||
}
|
}
|
||||||
command = command .. " --settings=" .. base64.encode(json.encode(settings))
|
command = command .. " --settings=" .. base64.encode(json.encode(settings))
|
||||||
else
|
else
|
||||||
local settings =
|
settings =
|
||||||
{
|
{
|
||||||
sAbsRoot = Aurora.Settings.sAbsRoot,
|
sAbsRoot = Aurora.Settings.sAbsRoot,
|
||||||
sRelAuRoot = Aurora.Settings.sRelAuRoot,
|
sRelAuRoot = Aurora.Settings.sRelAuRoot,
|
||||||
|
@ -77,8 +77,8 @@ local function addVisit(ina)
|
|||||||
|
|
||||||
local remoteLua = path .. "/Aurora.lua"
|
local remoteLua = path .. "/Aurora.lua"
|
||||||
local remoteJson = path .. "/Aurora.json"
|
local remoteJson = path .. "/Aurora.json"
|
||||||
local localJson = cwd .. Aurora.Settings.sRelRepoScripts .. "/" .. args.name .. ".aurora.json"
|
local localJson = Aurora.Settings.sAbsRepoScripts .. "/" .. args.name .. ".aurora.json"
|
||||||
local localLua = cwd .. Aurora.Settings.sRelRepoScripts .. "/" .. args.name .. ".aurora.lua"
|
local localLua = Aurora.Settings.sAbsRepoScripts .. "/" .. args.name .. ".aurora.lua"
|
||||||
|
|
||||||
if (os.isfile(localLua)) then
|
if (os.isfile(localLua)) then
|
||||||
project.processor = auRequireAbs(localLua)(info)
|
project.processor = auRequireAbs(localLua)(info)
|
||||||
@ -485,7 +485,7 @@ end
|
|||||||
local function addFeature(feature)
|
local function addFeature(feature)
|
||||||
--print("adding feature ", 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
|
if (not os.isfile(script)) then
|
||||||
auFatal("missing feature", feature, script)
|
auFatal("missing feature", feature, script)
|
||||||
|
Loading…
Reference in New Issue
Block a user