1
0
mirror of https://github.com/open-telemetry/opentelemetry-go.git synced 2026-05-22 09:35:21 +02:00

Run generators in all submodules (#705)

This commit is contained in:
Krzesimir Nowak
2020-05-08 17:16:00 +02:00
committed by GitHub
parent 485cbd4e6a
commit 2aa6e9ff3d
+5 -1
View File
@@ -135,7 +135,11 @@ lint: $(TOOLS_DIR)/golangci-lint $(TOOLS_DIR)/misspell
done done
generate: $(TOOLS_DIR)/stringer generate: $(TOOLS_DIR)/stringer
PATH="$(TOOLS_DIR):$${PATH}" go generate ./... set -e; for dir in $(ALL_GO_MOD_DIRS); do \
echo "running generators in $${dir}"; \
(cd "$${dir}" && \
PATH="$(TOOLS_DIR):$${PATH}" go generate ./...); \
done
.PHONY: license-check .PHONY: license-check
license-check: license-check: