[*] Amend 'namespace' usage instead of 'group]
[+] Added 'getProjectProcessor' API
This commit is contained in:
parent
9f5fa6d8e4
commit
4b9da8f776
13
aurora.lua
13
aurora.lua
@ -273,7 +273,7 @@ function attemptNS(ns)
|
||||
-- this seems to be singleshot.
|
||||
-- once you switch namespaces, theres no going back, it seems.
|
||||
-- we try to preserve namespace-project contiguity as much as possible through sorting and evil recursion
|
||||
namespace(ns)
|
||||
group(ns)
|
||||
return attemptLoad
|
||||
end
|
||||
|
||||
@ -364,6 +364,17 @@ function getProjectInfo(name)
|
||||
return scre.info
|
||||
end
|
||||
|
||||
function getProjectProcessor(name)
|
||||
if (not name) then
|
||||
return
|
||||
end
|
||||
local scre = projectsprocessor[name]
|
||||
if (not scre) then
|
||||
return
|
||||
end
|
||||
return scre.processor
|
||||
end
|
||||
|
||||
function getCurrentProjectName()
|
||||
return current_project
|
||||
end
|
||||
|
Loading…
Reference in New Issue
Block a user