mirror of
https://github.com/open-telemetry/opentelemetry-go.git
synced 2025-03-23 21:19:35 +02:00
Run generators in all submodules (#705)
This commit is contained in:
parent
485cbd4e6a
commit
2aa6e9ff3d
6
Makefile
6
Makefile
@ -135,7 +135,11 @@ lint: $(TOOLS_DIR)/golangci-lint $(TOOLS_DIR)/misspell
|
||||
done
|
||||
|
||||
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
|
||||
license-check:
|
||||
|
Loading…
x
Reference in New Issue
Block a user