format protocol.json to make changes easier to see
This commit is contained in:
parent
be4edc729a
commit
9f5e5b2cb0
2 changed files with 1568 additions and 3 deletions
2
Makefile
2
Makefile
|
@ -2,7 +2,7 @@ signaldctl: signald/client-protocol
|
||||||
go build -o signaldctl ./cmd/signaldctl
|
go build -o signaldctl ./cmd/signaldctl
|
||||||
|
|
||||||
protocol.json:
|
protocol.json:
|
||||||
signald --dump-protocol > protocol.json
|
signald --dump-protocol | jq . > protocol.json
|
||||||
|
|
||||||
signald/client-protocol: protocol.json tools/generator/*
|
signald/client-protocol: protocol.json tools/generator/*
|
||||||
go run ./tools/generator < protocol.json
|
go run ./tools/generator < protocol.json
|
||||||
|
|
1567
protocol.json
1567
protocol.json
File diff suppressed because one or more lines are too long
Loading…
Reference in a new issue