Skip to content

Commit

Permalink
Add make all target to test changes locally (open-telemetry#2344)
Browse files Browse the repository at this point in the history
Make all performs roughly the same steps as the alrady existing github actions. The only
exception is yamllint which I was not able to make work on my Mac after quite some time
and had to skip. If anyone knows how to make it work on a Mac please submit a follow-up PR.

Note that the checks can run in parallel to speed up, e.g. `make -j4`.
  • Loading branch information
tigrannajaryan authored Feb 15, 2022
1 parent 46972af commit 26b9b3d
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,10 @@ MARKDOWN_TOC=./node_modules/.bin/markdown-toc
# Keep links in semantic_conventions/README.md and .vscode/settings.json in sync!
SEMCONVGEN_VERSION=0.8.0

# TODO: add `yamllint` step to `all` after making sure it works on Mac.
.PHONY: all
all: markdownlint markdown-link-check misspell table-check schema-check

$(MISSPELL):
cd $(TOOLS_DIR) && go build -o $(MISSPELL_BINARY) github.com/client9/misspell/cmd/misspell

Expand Down

0 comments on commit 26b9b3d

Please sign in to comment.