Skip to content

Commit

Permalink
Simplify build-method implementation
Browse files Browse the repository at this point in the history
  • Loading branch information
webbertakken committed Jan 21, 2020
1 parent 1d1f81c commit cad4a8a
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions builder/steps/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -62,10 +62,6 @@ else
#
fi

# Set build method to execute as flag + argument
EXECUTE_BUILD_METHOD="-executeMethod $BUILD_METHOD"


# The build specification below may require Unity 2019.2.11f1 or later (not tested below).
# Reference: https://docs.unity3d.com/2019.3/Documentation/Manual/CommandLineArguments.html

Expand Down Expand Up @@ -107,7 +103,7 @@ xvfb-run --auto-servernum --server-args='-screen 0 640x480x24' \
-buildTarget "$BUILD_TARGET" \
-customBuildTarget "$BUILD_TARGET" \
-customBuildPath "$CUSTOM_BUILD_PATH" \
$EXECUTE_BUILD_METHOD
-executeMethod "$BUILD_METHOD"

# Catch exit code
BUILD_EXIT_CODE=$?
Expand Down

0 comments on commit cad4a8a

Please sign in to comment.