We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3247dca commit 79bbf1dCopy full SHA for 79bbf1d
compatibility/smoke/refresh_gencode.sh
@@ -0,0 +1,16 @@
1
+#!/usr/bin/bash
2
+# Run this script to update the gencode for all version subdirs.
3
+# Answer yes when prompted about removing write-protected files.
4
+
5
+set -e -x
6
7
+build="BUILD.bazel"
8
9
+# Copy and eventually restore the original build file.
10
+cp "${build}" "${build}".original
11
+trap "mv ${build}.original ${build}" EXIT
12
13
+# Update the subdirs.
14
+for file in v*; do
15
+ add_gencode.sh "${file:1}"
16
+done
0 commit comments