Adds PostCompile and PreSynchronize events

This commit is contained in:
Cyberboss
2018-08-10 09:27:54 -04:00
parent e55cd6b8e7
commit fd34ecbe53
@@ -27,7 +27,9 @@ namespace Tgstation.Server.Host.Components.StaticFiles
static readonly IReadOnlyDictionary<EventType, string> EventTypeScriptFileNameMap = new Dictionary<EventType, string>
{
{ EventType.CompileStart, "PreCompile" }
{ EventType.CompileStart, "PreCompile" },
{ EventType.CompileComplete, "PostCompile" },
{ EventType.RepoPreSynchronize, "PreSynchronize" }
};
static readonly string SystemScriptFileExtension = RuntimeInformation.IsOSPlatform(OSPlatform.Windows) ? "bat" : "sh";