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