signald-go/Makefile

12 lines
305 B
Makefile

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/*