If something isn't working, you can run the script with the -verbose option. Using global config fileĪnother option would be to modify the default configuration file: $ cd $HOME/.unity_build/Įnvironment variables have priority over this configuration file Run with verbose Then you can just run it like this: $ unity-buildĬommand line arguments have priority over environment variables. If you want these to stay between sesions you should store them on the config file according to your platform specifics. t, -target Set the build target, defaults to if missingĪ better option would be to store the parameters in environment variables: $ export CLOUD_BUILD_API_KEY= k, -key Set your api key to use as credentials to log into Cloud Build o, -org Set the organization id that contains the project to build p, -project Set the project id that should be built You can run the help command to see what every option does: $ unity-build -help You can pass these as command line parameters: $ unity-build -k -o -p -t
0 Comments
Leave a Reply. |