FlightControl 581414b259 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.
2017-03-29 09:50:39 +02:00

23 lines
589 B
Lua

local base = _G
__Moose = {}
__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" )
else
env.info( "Moose:" .. IncludeFile .. " loaded from " .. __Moose.ProgramPath )
return f()
end
end
end
__Moose.ProgramPath = "Scripts/Moose/"
__Moose.Includes = {}