mirror of
https://github.com/FlightControl-Master/MOOSE.git
synced 2025-10-29 16:58:06 +00:00
Improved dynamic loading
This commit is contained in:
@@ -79,4 +79,4 @@ Tasking/Task_A2A.lua
|
|||||||
Tasking/Task_Cargo.lua
|
Tasking/Task_Cargo.lua
|
||||||
Tasking/TaskZoneCapture.lua
|
Tasking/TaskZoneCapture.lua
|
||||||
|
|
||||||
Moose.lua
|
Globals.lua
|
||||||
|
|||||||
@@ -13,11 +13,12 @@ print( "Moose setup path : " .. MooseSetupPath )
|
|||||||
print( "Moose target path : " .. MooseTargetPath )
|
print( "Moose target path : " .. MooseTargetPath )
|
||||||
|
|
||||||
local MooseSourcesFilePath = MooseSetupPath .. "/Moose.files"
|
local MooseSourcesFilePath = MooseSetupPath .. "/Moose.files"
|
||||||
local MooseFilePath = MooseTargetPath.."/Moose.lua"
|
local LoaderFilePath = MooseTargetPath.."/Moose.lua"
|
||||||
|
local MooseFilePath = MooseDevelopmentPath .. "/Moose.lua"
|
||||||
|
|
||||||
print( "Reading Moose source list : " .. MooseSourcesFilePath )
|
print( "Reading Moose source list : " .. MooseSourcesFilePath )
|
||||||
|
|
||||||
local LoaderFile = io.open( MooseFilePath, "w" )
|
local LoaderFile = io.open( LoaderFilePath, "w" )
|
||||||
|
|
||||||
if MooseDynamicStatic == "S" then
|
if MooseDynamicStatic == "S" then
|
||||||
LoaderFile:write( "env.info( '*** MOOSE GITHUB Commit Hash ID: " .. MooseCommitHash .. " ***' )\n" )
|
LoaderFile:write( "env.info( '*** MOOSE GITHUB Commit Hash ID: " .. MooseCommitHash .. " ***' )\n" )
|
||||||
|
|||||||
Reference in New Issue
Block a user