mirror of
https://github.com/mongodb/mongo.git
synced 2024-11-21 12:39:08 +01:00
15 lines
365 B
Bash
15 lines
365 B
Bash
DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" > /dev/null 2>&1 && pwd)"
|
|
. "$DIR/prelude.sh"
|
|
|
|
set -o pipefail
|
|
|
|
cd src
|
|
|
|
PATH="/opt/shfmt/v3.2.4/bin:$PATH"
|
|
./buildscripts/shellscripts-linters.sh | tee shellscripts.log
|
|
exit_code=$?
|
|
|
|
activate_venv
|
|
$python ./buildscripts/simple_report.py --test-name shfmt --log-file shellscripts.log --exit-code $exit_code
|
|
exit $exit_code
|