Last active
March 11, 2018 11:41
-
-
Save JonathanReid/2783a958b5066a0fd5b14e9f64520939 to your computer and use it in GitHub Desktop.
Function to execute fastlane inside unity
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
//requires https://github.com/wlgys8/UnityShellHelper | |
[MenuItem("Build/run xcode")] | |
static void XCodeBuild() | |
{ | |
ShellHelper.ShellRequest req = ShellHelper.ProcessCommand("PATH=$PATH:/usr/local/bin\nfastlane ios beta", "Build"); | |
req.onLog += delegate (int arg1, string arg2) | |
{ | |
UnityEngine.Debug.Log(arg2); | |
}; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment