private static void HashExternalBuild() { var buildHashes = CodeHashGeneratorPostprocessor.CalculateExternalBuildHashes(); if (buildHashes == null || buildHashes.FileHashes.Length == 0) { Debug.LogError(ACTkConstants.LogPrefix + "External build hashing was not successful. " + "See previous log messages for possible details."); return; } buildHashes.PrintToConsole(); }
private static void HashExternalBuild() { string selectedBuild; var hash = CodeHashGeneratorPostprocessor.CalculateExternalBuildHash(out selectedBuild); if (!string.IsNullOrEmpty(hash) && !string.IsNullOrEmpty(selectedBuild)) { Debug.Log(ACTkConstants.LogPrefix + "External build hashed! Build: " + selectedBuild + "\nHash: " + hash); } else if (string.IsNullOrEmpty(selectedBuild)) { Debug.Log(ACTkConstants.LogPrefix + "External build hashing canceled by user."); } else { Debug.LogError(ACTkConstants.LogPrefix + "External build hashing was not successful. See previous log messages for possible details."); } }