-
Notifications
You must be signed in to change notification settings - Fork 104
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Updating Makefile to give instructions to download protoc
- Loading branch information
Showing
3 changed files
with
70 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -15,9 +15,14 @@ do-js: check_protoc | |
|
||
|
||
check_protoc: | ||
@which protoc || (echo "Install protoc version 3.17.3. On Mac, run \"brew install [email protected]\"" && exit 1) | ||
@pv=`protoc --version`; \ | ||
which protoc || $(MAKE) protoc_instructions | ||
pv=`protoc --version`; \ | ||
if [ "$$pv" != "libprotoc 3.17.3" ]; then \ | ||
echo "Protoc version $$pv is not supported."; \ | ||
exit 1; \ | ||
$(MAKE) protoc_instructions; \ | ||
fi | ||
|
||
protoc_instructions: | ||
echo "Please download version 3.17.3 from here:" | ||
echo "https://github.com/protocolbuffers/protobuf/releases/tag/v3.17.3" | ||
exit 1 |
60 changes: 60 additions & 0 deletions
60
external/java/src/main/java/ch/epfl/dedis/lib/proto/Evoting.java
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.