ClickHouse/utils/check-style/check_shell.sh
2024-03-18 15:04:44 +01:00

14 lines
382 B
Bash
Executable File

#!/bin/bash
cd /ClickHouse/utils/check-style || echo -e "failure\tRepo not found" > /test_output/check_status.tsv
start_total=$(date +%s)
start=$(date +%s)
./shellcheck-run.sh |& tee /test_output/shellcheck.txt
runtime=$(($(date +%s)-start))
echo "Check shellcheck. Done. $runtime seconds."
runtime=$(($(date +%s)-start_total))
echo "Check style total. Done. $runtime seconds."