forked from IABTechLab/agentic-rtb-framework
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathMakefile
More file actions
35 lines (29 loc) · 757 Bytes
/
Makefile
File metadata and controls
35 lines (29 loc) · 757 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
# Build the docs for the proto3 definition.
LANGUAGES=go # cpp go csharp objc python ruby js
bindings:
for x in ${LANGUAGES}; do \
protoc --proto_path=. \
--$${x}_out=. \
--experimental_editions \
openrtb.proto agenticrtbframework.proto; \
protoc --proto_path=. \
--$${x}_out=. \
--$${x}-grpc_out=require_unimplemented_servers=false:. \
agenticrtbframeworkservices.proto; \
done
check:
prototool lint
clean:
for x in ${LANGUAGES}; do \
rm -fr $${x}/*; \
done
docs:
podman run --rm \
-v ${PWD}:${PWD} \
-w ${PWD} \
pseudomuto/protoc-gen-doc \
--doc_opt=html,doc.html \
--proto_path=${PWD} \
openrtb.proto agenticrtbframework.proto agenticrtbframeworkservices.proto
watch:
fswatch -r ./ | xargs -n1 make docs