Skip to content

Commit

Permalink
Simplify build
Browse files Browse the repository at this point in the history
  • Loading branch information
aslakhellesoy committed Jul 3, 2019
1 parent 2f33cfe commit 9e14a30
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions cucumber-messages/dotnet/Makefile
Expand Up @@ -6,12 +6,11 @@ include default.mk
ifdef ALPINE
# The protoc bundled in the grpc.tools nuget package doesn't work on Alpine,
# so we overwrite it with the one bundled inside the Docker image.
# In order to prevent nuget from overwriting it again, we first build
# once, allowing the build to fail, then doing the copy.
-dotnet restore
# In order to prevent nuget from overwriting it again, we first
# doewnload the nuget packages, then doing the copy.
dotnet restore
mkdir -p /root/.nuget/packages/grpc.tools/1.20.1/tools/linux_x64
cp /usr/bin/protoc /root/.nuget/packages/grpc.tools/1.20.1/tools/linux_x64/protoc
-dotnet build -bl -c Release
endif
touch $@

Expand Down

0 comments on commit 9e14a30

Please sign in to comment.