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
# check if flatbuffers needs to be generated again
24
-
TMPDIR=$(mktemp -d)
25
-
flatc -o "${TMPDIR}" -g "${FBS_FILE_PATH}"
26
-
diff -qr "${TMPDIR}/ztoc""${SOCI_SNAPSHOTTER_PROJECT_ROOT}/ztoc/fbs/ztoc"|| (printf "\n\nThe Ztoc schema seems to be modified. Please run 'make flatc' to re-generate Go files\n\n"; rm -rf "${TMPDIR}";exit 1)
# check if ztoc flatbuffers needs to be generated again
27
+
tmpdir=$(mktemp -d)
28
+
flatc -o "${tmpdir}" -g "${ztoc_fbs_file}"
29
+
diff -qr "${tmpdir}/ztoc""${ztoc_fbs_dir}/ztoc"|| (printf "\n\nThe Ztoc schema seems to be modified. Please run 'make flatc' to re-generate Go files\n\n"; rm -rf "${tmpdir}";exit 1)
30
+
rm -rf "${tmpdir}"
31
+
32
+
# check if zinfo flatbuffers needs to be generated again
33
+
tmpdir=$(mktemp -d)
34
+
flatc -o "${tmpdir}" -g "${compression_fbs_file}"
35
+
diff -qr "${tmpdir}/zinfo""${compression_fbs_dir}/zinfo"|| (printf "\n\nThe Zinfo schema seems to be modified. Please run 'make flatc' to re-generate Go files\n\n"; rm -rf "${tmpdir}";exit 1)
0 commit comments