Skip to content

Commit

Permalink
fix makefile
Browse files Browse the repository at this point in the history
  • Loading branch information
vishiy committed Aug 25, 2024
1 parent f79aa06 commit 3aa9f71
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions mixins/kubernetes/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ jsonnet-fmt: $(JSONNETFMT_BIN)

.PHONY: markdownfmt
markdownfmt: $(MARKDOWNFMT_BIN)
@for file in $(MD_FILES); do $(MARKDOWNFMT_BIN) -w -/usr/local/go/bin/gofmt $$file; done
@for file in $(MD_FILES); do $(MARKDOWNFMT_BIN) -w -gofmt $$file; done

prometheus_alerts.yaml: $(JSONNET_BIN) mixin.libsonnet lib/alerts.jsonnet alerts/*.libsonnet
@$(JSONNET_BIN) -J vendor -S lib/alerts.jsonnet > $@
Expand Down Expand Up @@ -97,10 +97,11 @@ $(BIN_DIR):

$(TOOLING): $(BIN_DIR)
@echo Installing tools from hack/tools.go
@cd scripts && /usr/local/go/bin/go list -e -mod=mod -tags tools -f '{{ range .Imports }}{{ printf "%s\n" .}}{{end}}' ./ | xargs -tI % /usr/local/go/bin/go build -mod=mod -o $(BIN_DIR) %

@cd scripts && go list -e -mod=mod -tags tools -f '{{ range .Imports }}{{ printf "%s\n" .}}{{end}}' ./ | xargs -tI % go build -mod=mod -o $(BIN_DIR) %
########################################
# "check-with-upstream" workflow checks.
# @cd scripts && /usr/local/go/bin/go list -e -mod=mod -tags tools -f '{{ range .Imports }}{{ printf "%s\n" .}}{{end}}' ./ | xargs -tI % /usr/local/go/bin/go build -mod=mod -o $(BIN_DIR) %
########################################

check-selectors-ksm:
Expand Down

0 comments on commit 3aa9f71

Please sign in to comment.