Merge branch 'master' of https://github.com/tgstation/tgstation into goonchatv3

This commit is contained in:
Jordan Brown
2017-06-06 11:13:16 -04:00
+3 -1
View File
@@ -6,13 +6,15 @@
var/date
/datum/getrev/New()
if(fexists(SERVICE_PR_TEST_JSON))
if(world.RunningService() && fexists(SERVICE_PR_TEST_JSON))
testmerge = json_decode(file2text(SERVICE_PR_TEST_JSON))
#ifdef SERVERTOOLS
else if(!world.RunningService() && fexists("../prtestjob.lk")) //tgs2 support
var/list/tmp = world.file2list("..\\prtestjob.lk")
for(var/I in tmp)
if(I)
testmerge |= I
#endif
log_world("Running /tg/ revision:")
var/list/logs = world.file2list(".git/logs/HEAD")
if(logs)