test logging
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
#!/bin/bash
|
||||
SERIAL=$1; EMAIL=$2; PASSWORD=$3; COMMAND=$4; UNITY_BUILDER=$5
|
||||
SERIAL=$1; EMAIL=$2; PASSWORD=$3; COMMAND=$4; UNITY_BUILDER=$5
|
||||
DEFAULT_ARGS="-quit -logFile -"
|
||||
|
||||
rm -rf $HOME/.config/unity3d
|
||||
@@ -17,8 +17,12 @@ fi
|
||||
echo "::group::Running Unity Command"
|
||||
#Run the command.
|
||||
if [[ -n "$UNITY_BUILDER" ]]; then
|
||||
echo "Using UnityBuilder to run the command:"
|
||||
echo " UnityBuilder $COMMAND"
|
||||
UnityBuilder $COMMAND
|
||||
else
|
||||
echo "Using unity-editor to run the command:"
|
||||
echo " unity-editor $DEFAULT_ARGS $COMMAND"
|
||||
unity-editor $DEFAULT_ARGS $COMMAND
|
||||
fi
|
||||
echo "::endgroup::"
|
||||
|
||||
Reference in New Issue
Block a user