Skip to content

Commit 73d9704

Browse files
committed
demo genration
1 parent 6790714 commit 73d9704

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

Makefile

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -138,6 +138,13 @@ apidiff: go-apidiff ## Run the go-apidiff to verify any API differences compared
138138
go-apidiff:
139139
go install github.com/joelanford/go-apidiff@v0.6.1
140140

141+
# Demo Generation
142+
.PHONY: update-demo
143+
update-demo: ## Update README with the latest demo/tooling version using Asciinema
144+
asciinema rec -c './scripts/demo/run.sh' demo.cast
145+
@sed -i.bak 's/docs\/gif\/kb-demo.v3.11.1.svg/docs\/gif\/dummy-asciinema.svg/' README.md
146+
@rm README.md.bak
147+
141148
##@ Tests
142149

143150
.PHONY: test

0 commit comments

Comments
 (0)