diff options
-rw-r--r-- | Makefile | 7 |
1 files changed, 6 insertions, 1 deletions
@@ -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 |