We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f83a33f commit c1b3008Copy full SHA for c1b3008
Makefile
@@ -39,7 +39,8 @@ endif
39
GO := go
40
GO_MOD_ROOT := go.opentelemetry.io/proto
41
ALL_GO_MOD_DIRS := $(shell find . -type f -name 'go.mod' -exec dirname {} \; | sort)
42
-OTEL_GO_MOD_DIRS := $(filter-out $(TOOLS_MOD_DIR), $(ALL_GO_MOD_DIRS))
+ALL_GO_SUB_MOD_DIRS := $(shell find . -type f -name 'go.mod' -mindepth 2 -exec dirname {} \; | sort)
43
+OTEL_GO_MOD_DIRS := $(filter-out $(TOOLS_MOD_DIR), $(ALL_GO_SUB_MOD_DIRS))
44
TIMEOUT = 60
45
46
PROTOBUF_GEN_DIR := opentelemetry-proto-gen
@@ -159,7 +160,8 @@ clean-gen:
159
160
rm -rf $(GEN_TEMP_DIR)
161
162
.PHONY: clean
-clean: clean-gen
163
+clean:
164
+ rm -rf $(GEN_TEMP_DIR)
165
rm -rf $(OTLP_OUTPUT_DIR)/*/ $(OTLPSLIM_OUTPUT_DIR)/*/
166
167
.PHONY: go-mod-tidy
0 commit comments