12 lines
No EOL
409 B
Makefile
12 lines
No EOL
409 B
Makefile
signald-cli: signald/client-protocol
|
|
go build -o signald-cli ./cmd/signald-cli
|
|
|
|
protocol.json:
|
|
echo '{"type": "protocol", "version": "v1alpha1"}' | nc -q0 -U /var/run/signald/signald.sock | jq 'select(.type == "protocol").data' > 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/*
|