Skip to content
This repository has been archived by the owner on Mar 16, 2024. It is now read-only.

Commit

Permalink
Add docs gen to ci check
Browse files Browse the repository at this point in the history
Also shorten the docs generation command from gen-cli-docs to gen-docs
because I got tired of typing the whole thing.
  • Loading branch information
cjellick committed Jun 3, 2022
1 parent 112d675 commit f22d71f
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ validate:
validate-ci:
go generate
go mod tidy
go run tools/gendocs/main.go
if [ -n "$$(git status --porcelain --untracked-files=no)" ]; then \
git status --porcelain --untracked-files=no; \
echo "Encountered dirty repo!"; \
Expand All @@ -36,5 +37,5 @@ init-docs:
serve-docs:
docker run -it --rm --workdir=/docs -p 3000:3000 -v $${PWD}/docs:/docs node:18-buster yarn start --host=0.0.0.0

gen-cli-docs:
gen-docs:
go run tools/gendocs/main.go

0 comments on commit f22d71f

Please sign in to comment.