Skip to content

Commit c2f0c19

Browse files
committed
Add forgotten file before-submit.sh
1 parent 70a17c1 commit c2f0c19

File tree

1 file changed

+13
-0
lines changed

1 file changed

+13
-0
lines changed

scripts/before-submit.sh

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
#!/usr/bin/env bash
2+
#
3+
# Good to run before each submit to catch or repair issues.
4+
5+
cd $(dirname $0)/..
6+
7+
set -e
8+
9+
. <(scripts/run-build-cleaner.sh ...) # auto-repair issues
10+
scripts/run-clang-format.sh
11+
bazel test -c opt ...
12+
scripts/make-compilation-db.sh
13+
sh scripts/run-clang-tidy-cached.cc

0 commit comments

Comments
 (0)