mirror of
https://github.com/lightninglabs/loop.git
synced 2026-08-13 12:33:03 +02:00
make: generate man and markdown files in docs/
This commit is contained in:
parent
15f94234cd
commit
8feab845c4
4 changed files with 1221 additions and 1 deletions
9
Makefile
9
Makefile
|
|
@ -170,6 +170,15 @@ sqlc-check: sqlc
|
|||
@$(call print, "Verifying sql code generation.")
|
||||
if test -n "$$(git status --porcelain '*.go')"; then echo "SQL models not properly generated!"; git status --porcelain '*.go'; exit 1; fi
|
||||
|
||||
docs: build
|
||||
@$(call print, "Building man and markdown files in docs/")
|
||||
./loop-debug man > docs/loop.1
|
||||
./loop-debug markdown > docs/loop.md
|
||||
|
||||
docs-check: docs
|
||||
@$(call print, "Verifying man and markdown files in docs/")
|
||||
if test -n "$$(git status --porcelain 'docs/loop.*')"; then echo "Man and markdown files not properly generated!"; git diff; exit 1; fi
|
||||
|
||||
fsm:
|
||||
@$(call print, "Generating state machine docs")
|
||||
./scripts/fsm-generate.sh;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue