Skip to content

Commit

Permalink
Run generators in all submodules (#705)
Browse files Browse the repository at this point in the history
  • Loading branch information
krnowak authored May 8, 2020
1 parent 485cbd4 commit 2aa6e9f
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit 2aa6e9f

Please sign in to comment.