Improved dynamic loading

This commit is contained in:
Sven Van de Velde 2018-03-25 20:33:43 +02:00
parent 4c91880a85
commit 856bd56cde
2 changed files with 4 additions and 3 deletions

View File

@ -79,4 +79,4 @@ Tasking/Task_A2A.lua
Tasking/Task_Cargo.lua
Tasking/TaskZoneCapture.lua
Moose.lua
Globals.lua

View File

@ -13,11 +13,12 @@ print( "Moose setup path : " .. MooseSetupPath )
print( "Moose target path : " .. MooseTargetPath )
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 )
local LoaderFile = io.open( MooseFilePath, "w" )
local LoaderFile = io.open( LoaderFilePath, "w" )
if MooseDynamicStatic == "S" then
LoaderFile:write( "env.info( '*** MOOSE GITHUB Commit Hash ID: " .. MooseCommitHash .. " ***' )\n" )