Skip to content

Commit f5b0194

Browse files
committed
Improve script
1 parent 7e2c1df commit f5b0194

3 files changed

Lines changed: 6 additions & 4 deletions

File tree

doc/docs.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1513,7 +1513,7 @@ Constraints (documented, not schema-enforced):
15131513
recursive batches and receivers may treat them as a protocol violation.
15141514
- Notifications are delivered in array order; consumers must process
15151515
them in order.
1516-
- Sent only for webhooks, for peers that opted in
1516+
- Sent only for webhooks, for peers that .
15171517

15181518

15191519
| Field | Type | Label | Description |

fishjam/server_notifications.proto

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -243,7 +243,7 @@ message ServerMessage {
243243
// recursive batches and receivers may treat them as a protocol violation.
244244
// - Notifications are delivered in array order; consumers must process
245245
// them in order.
246-
// - Sent only for webhooks, for peers that opted in
246+
// - Sent only for webhooks, for peers that .
247247
message NotificationBatch {
248248
repeated ServerMessage notifications = 1;
249249
}

prepare.sh

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,10 @@
1+
#!/bin/bash
2+
13
set -e
24

3-
find fishjam -name "*.proto" | sort | xargs docker run --rm -v $(pwd)/doc:/out -v $(pwd):/protos pseudomuto/protoc-gen-doc --doc_opt=markdown,docs.md
5+
find fishjam -name "*.proto" | sort | xargs docker run --rm -v $PWD/doc:/out -v $PWD:/protos pseudomuto/protoc-gen-doc --doc_opt=markdown,docs.md
46

5-
buf lint
67
buf format -w
8+
buf lint
79

810
(cd ./fishjam_protos; ./compile_proto.sh)

0 commit comments

Comments
 (0)