Skip to content

Commit

Permalink
chore: run make docs with various GOOS
Browse files Browse the repository at this point in the history
In order to correctly update all READMEs during go generate, pass the
primary three GOOS that we support. This way all README will get any
necessary changes.

fixes: influxdata#12499
  • Loading branch information
powersj committed Jan 13, 2023
1 parent a586101 commit b7a48d8
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,9 @@ build_tools:
$(HOSTGO) build -o ./tools/readme_linter/readme_linter$(EXEEXT) ./tools/readme_linter

embed_readme_%:
go generate -run="readme_config_includer/generator$$" ./plugins/$*/...
GOOS=linux go generate -run="readme_config_includer/generator$$" ./plugins/$*/...
GOOS=windows go generate -run="readme_config_includer/generator$$" ./plugins/$*/...
GOOS=darwin go generate -run="readme_config_includer/generator$$" ./plugins/$*/...

.PHONY: docs
docs: build_tools embed_readme_inputs embed_readme_outputs embed_readme_processors embed_readme_aggregators embed_readme_secretstores
Expand Down

0 comments on commit b7a48d8

Please sign in to comment.