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
4
Makefile
4
Makefile
|
@ -2,11 +2,11 @@ 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
|
||||||
|
|
||||||
clean:
|
clean:
|
||||||
rm -rf protocol.json
|
rm -rf protocol.json
|
||||||
rm -rf signald/client-protocol/*
|
rm -rf signald/client-protocol/*
|
||||||
|
|
1567
protocol.json
1567
protocol.json
File diff suppressed because one or more lines are too long
Loading…
Reference in a new issue