Skip to content

Commit 805682a

Browse files
committedJun 26, 2023
Updating Makefile to give instructions to download protoc
1 parent 42c3b44 commit 805682a

File tree

3 files changed

+70
-3
lines changed

3 files changed

+70
-3
lines changed
 

‎external/Makefile

+8-3
Original file line numberDiff line numberDiff line change
@@ -15,9 +15,14 @@ do-js: check_protoc
1515

1616

1717
check_protoc:
18-
@which protoc || (echo "Install protoc version 3.17.3. On Mac, run \"brew install protobuf@3.17.3\"" && exit 1)
19-
@pv=`protoc --version`; \
18+
which protoc || $(MAKE) protoc_instructions
19+
pv=`protoc --version`; \
2020
if [ "$$pv" != "libprotoc 3.17.3" ]; then \
2121
echo "Protoc version $$pv is not supported."; \
22-
exit 1; \
22+
$(MAKE) protoc_instructions; \
2323
fi
24+
25+
protoc_instructions:
26+
echo "Please download version 3.17.3 from here:"
27+
echo "https://github.com/protocolbuffers/protobuf/releases/tag/v3.17.3"
28+
exit 1

‎external/java/src/main/java/ch/epfl/dedis/lib/proto/Evoting.java

+60
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

‎external/proto/evoting.proto

+2
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)