Created
March 7, 2017 13:37
-
-
Save mattiaswargren-zz/e2eeb3d97d1237a603bf69f556fda921 to your computer and use it in GitHub Desktop.
Editor Build Test to check if Keystore passwords are entered
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using NUnit.Framework; | |
using UnityEditor; | |
public class BuildTests | |
{ | |
[Test] | |
public void TestAndroidKeystoreBeforeBuild() | |
{ | |
Assert.IsNotNullOrEmpty(PlayerSettings.keystorePass, "Key Store Password"); | |
Assert.IsNotNullOrEmpty(PlayerSettings.keyaliasPass, "Key Alias Password"); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment