mirror of
https://github.com/FlightControl-Master/MOOSE.git
synced 2025-10-29 16:58:06 +00:00
Loader
This commit is contained in:
parent
74d2ee9430
commit
ea93e3863b
@ -14,7 +14,7 @@ print( "Moose target path : " .. MooseTargetPath )
|
||||
|
||||
local MooseSourcesFilePath = MooseSetupPath .. "/Moose.files"
|
||||
local LoaderFilePath = MooseTargetPath.."/Moose.lua"
|
||||
local MooseFilePath = MooseTargetPath .. "/Loader.lua"
|
||||
local MooseFilePath = MooseTargetPath .. "/Modules.lua"
|
||||
|
||||
print( "Reading Moose source list : " .. MooseSourcesFilePath )
|
||||
|
||||
@ -39,7 +39,7 @@ local MooseLoaderText = MooseLoader:read( "*a" )
|
||||
MooseLoader:close()
|
||||
|
||||
LoaderFile:write( MooseLoaderText )
|
||||
LoaderFile:write( "__Moose.Include( 'Scripts/Moose/Moose.lua'\n" )
|
||||
LoaderFile:write( "__Moose.Include( 'Scripts/Moose/Modules.lua' ) \n" )
|
||||
|
||||
local MooseSourcesFile = io.open( MooseSourcesFilePath, "r" )
|
||||
local MooseSource = MooseSourcesFile:read("*l")
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user