You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: scripts/soundness.sh
+11-1Lines changed: 11 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -48,7 +48,17 @@ if [ "$out" == *"error"* ]; then
48
48
exit 1
49
49
fi
50
50
if [[ "$FIRST_OUT"!="$SECOND_OUT" ]];then
51
-
printf"\033[0;31mRunning gyb results in changes! Have you manually editted the generated swift files? Or did you forget to run gyb and commit changes?\033[0m\n"
51
+
printf"\033[0;31mRunning gyb results in changes! Have you manually edited the generated Swift files? Or did you forget to run gyb and commit changes?\033[0m\n"
52
+
exit 1
53
+
fi
54
+
printf"\033[0;32mokay.\033[0m\n"
55
+
56
+
printf"=> Detecting changes in source files for CMake build\n"
57
+
FIRST_OUT="$(git status --porcelain)"
58
+
out=$($here/update_cmakelists.sh 2>&1)
59
+
SECOND_OUT="$(git status --porcelain)"
60
+
if [[ "$FIRST_OUT"!="$SECOND_OUT" ]];then
61
+
printf"\033[0;31mThere are source file changes! Have you added or renamed source files? Or did you forget to run 'update_cmakelists.sh' and commit changes?\033[0m\n"
0 commit comments