moonlight-nx/build.sh
2021-02-07 13:15:59 +03:00

9 lines
294 B
Bash
Executable file

#!/bin/bash
# Exit with an error code if any of the commands fail
set -e
trap 'last_command=$current_command; current_command=$BASH_COMMAND' DEBUG
trap 'echo "\"${last_command}\" command failed with exit code $?."' EXIT
# Run build
make -j NIGHTLY_BUILD=`git rev-parse --short "$GITHUB_SHA"`