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:
-rw-r--r--Makefile7
1 files changed, 6 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 74f078360..e04b93fb4 100644
--- a/Makefile
+++ b/Makefile
@@ -450,10 +450,15 @@ notice-up-to-date: ${BUILD_DIR}/NOTICE
notice: ${SOURCE_DIR}/NOTICE
.PHONY: clean
-## Clean up build artifacts.
+## Clean up the Go and Ruby build artifacts.
clean:
rm -rf ${BUILD_DIR} ${SOURCE_DIR}/ruby/.bundle/ ${SOURCE_DIR}/ruby/vendor/bundle/
+.PHONY: clean-build
+## Clean up the build artifacts except for Ruby dependencies.
+clean-build:
+ rm -rf ${BUILD_DIR}
+
.PHONY: clean-ruby-vendor-go
clean-ruby-vendor-go:
mkdir -p ${SOURCE_DIR}/ruby/vendor && find ${SOURCE_DIR}/ruby/vendor -type f -name '*.go' -delete