Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitaly.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWill Chandler <wchandler@gitlab.com>2023-01-26 22:28:32 +0300
committerWill Chandler <wchandler@gitlab.com>2023-01-26 22:28:32 +0300
commite917b3d3a8d4e680be8899dc974b12357616b8cf (patch)
tree732b1cf7f66413ce57547971ae75f201fa5159e8 /Makefile
parentdea4906cfe5d097c76eed401c905e1652fc11c8f (diff)
Makefile: Install protogem dependencies
The `build-proto-gem` target has its own Gemfile to require the `grpc-tools` gem, but does not run `bundle install` in `tools/protogem` directory first. Update the Makefile to install protogem's dependency before building. Changelog: fixed
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile1
1 files changed, 1 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index 65d2151ad..9a3ca9b78 100644
--- a/Makefile
+++ b/Makefile
@@ -494,6 +494,7 @@ lint-proto: ${PROTOC} ${PROTOLINT} ${PROTOC_GEN_GITALY_LINT}
.PHONY: build-proto-gem
## Build the Ruby Gem that contains Gitaly's Protobuf definitons.
build-proto-gem:
+ ${Q}cd "${SOURCE_DIR}"/tools/protogem && bundle install
${Q}"${SOURCE_DIR}"/tools/protogem/build-proto-gem -o "${BUILD_DIR}/gitaly.gem" ${BUILD_GEM_OPTIONS}
.PHONY: publish-proto-gem