Skip to content

Commit

Permalink
feat: clean task in Makefile
Browse files Browse the repository at this point in the history
This update is beneficial for enabling multiarch support. By
default, some tooling is downloaded specifically for amd64. Even
with changes in the scripts, the tool does not get updated.

Signed-off-by: Nestor Acuna Blanco <[email protected]>
  • Loading branch information
nestoracunablanco committed Sep 18, 2024
1 parent 8cd74a6 commit c0cc3d2
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,8 @@ E2E_SUITES = \
test/e2e/workflow \
test/e2e/monitoring

BIN_DIR = $(CURDIR)/build/_output/bin/
OUTPUT_DIR = $(CURDIR)/build/_output/
BIN_DIR = $(OUTPUT_DIR)/bin/
export GOROOT=$(BIN_DIR)/go/
export GOBIN = $(GOROOT)/bin/
export PATH := $(GOBIN):$(PATH)
Expand Down Expand Up @@ -223,6 +224,9 @@ lint-monitoring:
GOBIN=$$(pwd)/build/_output/bin/ $(GO) install -mod=mod github.com/kubevirt/monitoring/monitoringlinter/cmd/monitoringlinter@e2be790
$(MONITORING_LINTER) ./...

clean:
rm -rf $(OUTPUT_DIR)

.PHONY: \
$(E2E_SUITES) \
all \
Expand Down Expand Up @@ -257,5 +261,6 @@ lint-monitoring:
release \
update-workflows-branches \
statify-components \
lint-monitoring
lint-monitoring \
clean

0 comments on commit c0cc3d2

Please sign in to comment.