2021-02-12 01:37:07 +00:00
|
|
|
signaldctl: signald/client-protocol cmd/signaldctl
|
2021-08-07 19:46:18 +00:00
|
|
|
go build -ldflags '-X gitlab.com/signald/signald-go/cmd/signaldctl/common.Version=$(./version.sh) -X gitlab.com/signald/signald-go/cmd/signaldctl/common.Branch=$(shell git rev-parse --abbrev-ref HEAD) -X gitlab.com/signald/signald-go/cmd/signaldctl/common.Commit=$(shell git rev-parse HEAD)' -o signaldctl ./cmd/signaldctl
|
2020-10-13 05:24:11 +00:00
|
|
|
|
|
|
|
protocol.json:
|
2021-01-29 08:27:09 +00:00
|
|
|
signald --dump-protocol | jq . > protocol.json
|
2020-10-13 05:24:11 +00:00
|
|
|
|
|
|
|
signald/client-protocol: protocol.json tools/generator/*
|
|
|
|
go run ./tools/generator < protocol.json
|
|
|
|
|
|
|
|
clean:
|
|
|
|
rm -rf protocol.json
|
2021-01-29 08:27:09 +00:00
|
|
|
rm -rf signald/client-protocol/*
|