mirror of
https://github.com/lightninglabs/loop.git
synced 2026-08-13 12:33:03 +02:00
make+looprpc: use Docker to compile and format protos
This commit is contained in:
parent
67c81204f6
commit
86df44362f
13 changed files with 4334 additions and 2409 deletions
8
Makefile
8
Makefile
|
|
@ -74,5 +74,9 @@ install:
|
|||
$(GOINSTALL) -tags="${tags}" $(LDFLAGS) $(PKG)/cmd/loopd
|
||||
|
||||
rpc:
|
||||
@$(call print, "Compiling RPC protos.")
|
||||
cd looprpc; ./gen_protos.sh
|
||||
@$(call print, "Compiling protos.")
|
||||
cd ./looprpc; ./gen_protos_docker.sh
|
||||
|
||||
rpc-check: rpc
|
||||
@$(call print, "Verifying protos.")
|
||||
if test -n "$$(git describe --dirty | grep dirty)"; then echo "Protos not properly formatted or not compiled with correct version!"; git status; git diff; exit 1; fi
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue