Skip to content

Commit

Permalink
Unbreak visualiser
Browse files Browse the repository at this point in the history
The new file layout broke the message visualiser. Use find to discover
.proto files and copy them all.
  • Loading branch information
André Lucas committed Dec 1, 2017
1 parent 9699020 commit 8398fc6
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions visualiser/Makefile
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@

PROTO_SRC = ../dataplane
PROTO_SRC = ..
PROTO_DIR = $(CURDIR)/proto
OUT_DIR = $(CURDIR)/output

# List the protobuf files in the PROTO_SRC directory.
protofiles = $(wildcard $(PROTO_SRC)/*.proto)
protofiles = $(shell find $(PROTO_SRC) -name *.proto -print)
# For each proto file in PROTO_SRC, prepend the container's /proto/ prefix.
# $(srcs) will be /proto/file1.proto /proto/file2.proto, useful when we can't
# use globs, e.g. when starting a container.
Expand All @@ -25,7 +25,7 @@ shell: clean prep build
docker run $(DOCKER_RUNOPT) --entrypoint /bin/sh -ti $(IMG)

prep:
cp $(PROTO_SRC)/*.proto $(PROTO_DIR)/
cp $(protofiles) $(PROTO_DIR)/

build:
docker build --rm -t vis:latest .
Expand Down

0 comments on commit 8398fc6

Please sign in to comment.