signald-go/Makefile

13 lines
305 B
Makefile
Raw Normal View History

2020-12-13 00:33:29 +00:00
signaldctl: signald/client-protocol
go build -o signaldctl ./cmd/signaldctl
protocol.json:
signald --dump-protocol | jq . > protocol.json
signald/client-protocol: protocol.json tools/generator/*
go run ./tools/generator < protocol.json
clean:
rm -rf protocol.json
rm -rf signald/client-protocol/*