Skip to content

Commit 40b7f26

Browse files
committed
separate cleaning targets, no need to wipe tools all the time
On-behalf-of: @SAP christoph.mewes@sap.com
1 parent 8e5b09a commit 40b7f26

File tree

1 file changed

+7
-2
lines changed

1 file changed

+7
-2
lines changed

Makefile

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -73,9 +73,14 @@ build-tests:
7373

7474
.PHONY: clean
7575
clean:
76+
rm -rf $(BUILD_DEST)
77+
@echo "Cleaned $(BUILD_DEST)."
78+
79+
.PHONY: clean-tools
80+
clean-tools:
7681
if [ -d $(UGET_DIRECTORY)/k8s ]; then chmod -R +w $(UGET_DIRECTORY)/k8s; fi
77-
rm -rf $(BUILD_DEST) $(UGET_DIRECTORY)
78-
@echo "Cleaned $(BUILD_DEST) and $(UGET_DIRECTORY)"
82+
rm -rf $(UGET_DIRECTORY)
83+
@echo "Cleaned $(UGET_DIRECTORY)."
7984

8085
.PHONY: lint
8186
lint: install-golangci-lint

0 commit comments

Comments
 (0)