moonlight-nx/build.sh

10 lines
294 B
Bash
Raw Normal View History

#!/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
2021-02-07 10:15:59 +00:00
trap 'echo "\"${last_command}\" command failed with exit code $?."' EXIT
# Run build
make -j NIGHTLY_BUILD=`git rev-parse --short "$GITHUB_SHA"`