doc: make doc testable

This commit is contained in:
Li Jie
2024-11-06 10:28:08 +08:00
parent c7649766fd
commit 17d509a45a
13 changed files with 199 additions and 2 deletions

View File

@@ -0,0 +1,8 @@
# shellcheck disable=all
git clone https://github.com/goplus/llgo.git
cd llgo
go install -v ./cmd/...
go install -v ./chore/... # compile all tools except pydump
cd chore/_xtool
llgo install ./... # compile pydump
go install github.com/goplus/hdq/chore/pysigfetch@v0.8.1 # compile pysigfetch