Files
trailofbits-buttercup/protoc.sh
Riccardo Schirone ce11433e2b common: expand ReliableQueue (#11)
* common: move protobufs to common to be used by all components
* common: check same-reader pending list and autoclaim
* common: add claim_item method
* common: refactor queue/group names into Enums
* common: add generic typing for reliablequeue
* common: make the pending items list check non-default
* common: use item_id directly in ack_item
2025-01-23 09:32:18 +01:00

12 lines
479 B
Bash
Executable File

#!/usr/bin/env bash
# this is a hack because i dont want to cut a new release of clusterfuzz that
# supports later versions of grpc
localpath="$( cd -- "$(dirname "$0")" >/dev/null 2>&1 ; pwd -P )"
echo "$localpath"
echo "$localpath/common/protos"
protoc \
--pyi_out="$localpath/common/src/buttercup/common/datastructures/" \
--python_out "$localpath/common/src/buttercup/common/datastructures/" \
-I"$localpath/common/protos" \
$localpath/common/protos/*.proto