ClickHouse/utils/check-style/check_shell.sh

14 lines
382 B
Bash
Raw Normal View History

2024-03-12 09:50:44 +00:00
#!/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."