mirror of
https://github.com/ossf/scorecard.git
synced 2024-09-11 08:55:27 +03:00
🌱 auto generate docs (#455)
Implemented checks for auto generating docs.
This commit is contained in:
parent
c82770397a
commit
f73f94bd0c
7
Makefile
7
Makefile
@ -24,7 +24,7 @@ help: ## Display this help
|
||||
|
||||
all: ## Runs build, test and verify
|
||||
.PHONY: all
|
||||
all: build test check-projects build-cron build-scripts verify projects-update
|
||||
all: build test check-projects build-cron build-scripts verify projects-update generate-docs
|
||||
|
||||
.PHONY: build
|
||||
build: ## Runs go build and generates executable
|
||||
@ -137,3 +137,8 @@ projects-update: ## builds the scripts/update binary
|
||||
cd ./scripts/update && go mod tidy && go mod verify
|
||||
cd ./scripts/update && CGO_ENABLED=0 go build -a -tags netgo -ldflags '-w -extldflags "-static"' -o projects-update .
|
||||
./scripts/tree-status
|
||||
|
||||
.PHONY: generate-docs
|
||||
generate-docs: ## generate docs
|
||||
cd ./checks/main && go run main.go
|
||||
./scripts/tree-status
|
||||
|
Loading…
Reference in New Issue
Block a user