Skip to content

Commit

Permalink
Added protobuf installer for bash (#58)
Browse files Browse the repository at this point in the history
  • Loading branch information
Arkatufus committed Aug 12, 2020
1 parent d53248c commit ce11478
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -91,6 +91,17 @@ if [ ! -f "$FAKE_EXE" ]; then
exit 1
fi

###########################################################################
# INSTALL Protobuf
###########################################################################
if [ ! -f "$PROTOBUF_EXE" ]; then
mono "$NUGET_EXE" install Google.Protobuf.Tools -ExcludeVersion -Version $PROTOBUF_VERSION -OutputDirectory "$TOOLS_DIR"
if [ $? -ne 0 ]; then
echo "An error occured while installing Google.Protobuf.Tools."
exit 1
fi
fi

###########################################################################
# INSTALL DOCFX
###########################################################################
Expand Down

0 comments on commit ce11478

Please sign in to comment.