mirror of
https://github.com/FlightControl-Master/MOOSE.git
synced 2025-10-29 16:58:06 +00:00
Release automation preparation
-- Updated .launch files to work from workspace. So everybody can use them from LDT. -- Deleted obscolete .launch files. -- Created new Moose_Create.lua script. Now lua makes the Dynamic and Static Moose.lua stub. -- One single file is the reference for the Moose sources: Moose.files located in Moose Setup -- Removed the l10n directory from Moose Setup\Moose Mission Update. -- Removed the 7z and other outputs to update missions.
This commit is contained in:
@@ -1,26 +1,22 @@
|
||||
|
||||
local base = _G
|
||||
|
||||
Include = {}
|
||||
__Moose = {}
|
||||
|
||||
Include.File = function( IncludeFile )
|
||||
if not Include.Files[ IncludeFile ] then
|
||||
Include.Files[IncludeFile] = IncludeFile
|
||||
env.info( "Include:" .. IncludeFile .. " from " .. Include.ProgramPath )
|
||||
local f = assert( base.loadfile( Include.ProgramPath .. IncludeFile .. ".lua" ) )
|
||||
__Moose.Include = function( IncludeFile )
|
||||
if not __Moose.Includes[ IncludeFile ] then
|
||||
__Moose.Includes[IncludeFile] = IncludeFile
|
||||
env.info( "Include:" .. IncludeFile .. " from " .. __Moose.ProgramPath )
|
||||
local f = assert( base.loadfile( __Moose.ProgramPath .. IncludeFile .. ".lua" ) )
|
||||
if f == nil then
|
||||
error ("Could not load MOOSE file " .. IncludeFile .. ".lua" )
|
||||
error ("Could not load Moose file " .. IncludeFile .. ".lua" )
|
||||
else
|
||||
env.info( "Include:" .. IncludeFile .. " loaded from " .. Include.ProgramPath )
|
||||
env.info( "Moose:" .. IncludeFile .. " loaded from " .. __Moose.ProgramPath )
|
||||
return f()
|
||||
end
|
||||
end
|
||||
end
|
||||
|
||||
Include.ProgramPath = "Scripts/Moose/"
|
||||
__Moose.ProgramPath = "Scripts/Moose/"
|
||||
|
||||
env.info( "Include.ProgramPath = " .. Include.ProgramPath)
|
||||
|
||||
Include.Files = {}
|
||||
|
||||
Include.File( "Moose" )
|
||||
__Moose.Includes = {}
|
||||
|
||||
Reference in New Issue
Block a user