ClickHouse/utils/check-style/check_shell.sh

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

14 lines
389 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)
2024-04-18 14:12:41 +00:00
./shellcheck-run.sh |& tee /test_output/shellcheck_output.txt
2024-03-12 09:50:44 +00:00
runtime=$(($(date +%s)-start))
echo "Check shellcheck. Done. $runtime seconds."
runtime=$(($(date +%s)-start_total))
echo "Check style total. Done. $runtime seconds."