Cleanup of the MOOSE repository. Only the essential is remained.

This commit is contained in:
Sven Van de Velde
2018-02-17 21:17:54 +01:00
parent 85cb0b40f8
commit 2d1409dedb
963 changed files with 56 additions and 274764 deletions

View File

@@ -0,0 +1,22 @@
env.info( '*** MOOSE DYNAMIC INCLUDE START *** ' )
local base = _G
__Moose = {}
__Moose.Include = function( IncludeFile )
if not __Moose.Includes[ IncludeFile ] then
__Moose.Includes[IncludeFile] = IncludeFile
local f = assert( base.loadfile( __Moose.ProgramPath .. IncludeFile ) )
if f == nil then
error ("Moose: Could not load Moose file " .. IncludeFile )
else
env.info( "Moose: " .. IncludeFile .. " dynamically loaded from " .. __Moose.ProgramPath )
return f()
end
end
end
__Moose.ProgramPath = "Scripts/Moose/"
__Moose.Includes = {}