diff options
author | Toon Claes <toon@gitlab.com> | 2023-05-22 15:00:58 +0300 |
---|---|---|
committer | Toon Claes <toon@gitlab.com> | 2023-05-22 15:13:42 +0300 |
commit | 95a8d523d478073efe6ae6815d08826a84527c8d (patch) | |
tree | fd2210dda703e7dca2dd77079ee23c1f1ee37a89 /Makefile | |
parent | f224319700838fb22c5ab52e397fe25006894ba1 (diff) |
Makefile: Create output directory for proto gem
When the target `build-proto-gem` runs in a clean environment, it fails
because the `_build` directory does not exist yet. Fix this by creating
the output directory from in the Makefile recipe.
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -492,6 +492,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}rm -rf "${BUILD_DIR}/gitaly.gem" && mkdir -p ${BUILD_DIR} ${Q}cd "${SOURCE_DIR}"/tools/protogem && bundle install ${Q}"${SOURCE_DIR}"/tools/protogem/build-proto-gem -o "${BUILD_DIR}/gitaly.gem" ${BUILD_GEM_OPTIONS} |