We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 238d30f commit 20481c5Copy full SHA for 20481c5
ci/do_ci.sh
@@ -308,6 +308,11 @@ case $CI_TARGET in
308
if [[ "$GO_FILE" = *.validate.go ]]; then
309
sed -i '1s;^;//go:build !disable_pgv\n;' "$OUTPUT_DIR/$(basename "$GO_FILE")"
310
fi
311
+ # TODO(https://github.com/planetscale/vtprotobuf/pull/122) do this directly in the generator.
312
+ # Make vtprotobuf opt-in as it has some impact on binary sizes
313
+ if [[ "$GO_FILE" = *.vtproto.pb.go ]]; then
314
+ sed -i '1s;^;//go:build vtprotobuf\n;' "$OUTPUT_DIR/$(basename "$GO_FILE")"
315
+ fi
316
done <<< "$(find "$INPUT_DIR" -name "*.go")"
317
done
318
;;
0 commit comments