#!/usr/bin/env bash
set -ex

BUILDROOT="$(git rev-parse --show-toplevel)"

source $BUILDROOT/build-aux/ci/format-code.sh "$(git rev-parse HEAD~)"
source $BUILDROOT/build-aux/ci/build-linux.sh

#!/usr/bin/env bash
set -ex

BUILDROOT="$(git rev-parse --show-toplevel)"

set +x
source $BUILDROOT/build-aux/ci/format-code.sh "$(git rev-parse HEAD~)"
set -x

source $BUILDROOT/build-aux/ci/build-linux.sh

Remove "set -x" before calling clang_format
Remove "set -x" before calling clang_format

It makes the otput more readable if there are formatting errors
