mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-04-29 14:59:39 -04:00
Currently, the lint_test_runner is built and installed into the lint CI image. This is problematic, because it triggers a full image build on every change to its source code. Doing a build of the lint test_runner on every run is easier and faster.
19 lines
493 B
Bash
Executable file
19 lines
493 B
Bash
Executable file
#!/usr/bin/env bash
|
|
#
|
|
# Copyright (c) The Bitcoin Core developers
|
|
# Distributed under the MIT software license, see the accompanying
|
|
# file COPYING or https://opensource.org/license/mit/.
|
|
|
|
export LC_ALL=C
|
|
|
|
# Fixes permission issues when there is a container UID/GID mismatch with the owner
|
|
# of the mounted bitcoin src dir.
|
|
git config --global --add safe.directory /bitcoin
|
|
|
|
export PATH="/python_build/bin:${PATH}"
|
|
|
|
if [ -z "$1" ]; then
|
|
bash -ic "./ci/lint/06_script.sh"
|
|
else
|
|
exec "$@"
|
|
fi
|