From b02997bd85d2ff7e21c780408ffd0ac5c2cfc5e5 Mon Sep 17 00:00:00 2001 From: XeonSquared Date: Mon, 15 May 2017 01:46:40 +1000 Subject: [PATCH] Added build time recording to listmods --- build.lua | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/build.lua b/build.lua index 45e519a..125bdc6 100755 --- a/build.lua +++ b/build.lua @@ -77,13 +77,13 @@ print(tostring(#tm).." modules loaded.\n") -- Generate source print("Generating source") if cfg.listmods == "yes" then - ss=ss.."modules,_OSVERSION={" + ss=ss.."_MOD,_OSVERSION,_BD={" for k,v in ipairs(tm) do ss=ss..'"'..v..'",' end ss=ss.."}," if _OSVERSION == nil then - ss=ss..'"MultICE '..io.popen("git rev-parse HEAD"):read("*a"):sub(1,7)..'"\n' + ss=ss..'"MultICE '..io.popen("git rev-parse HEAD"):read("*a"):sub(1,7)..'","'..os.date("%Y/%m/%d %H:%M %z")..'"\n' else ss=ss..'"MultICE DR0"\n' end