Skip to content

Commit

Permalink
Update demo
Browse files Browse the repository at this point in the history
  • Loading branch information
jacebrowning committed Nov 22, 2020
1 parent d9d641a commit b7d5317
Show file tree
Hide file tree
Showing 6 changed files with 427 additions and 394 deletions.
41 changes: 23 additions & 18 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -26,34 +26,39 @@ watch: install .clean-test ## Continuously run all CI tasks when files chanage
.PHONY: demo
demo: install
poetry run gitman install --force # some scripts have intentional errors
ifdef RECORDING
@ sleep 2
ifdef RECORDING_DELAY
@ sleep $(RECORDING_DELAY)
@ sleep $(RECORDING_DELAY)
@ clear
@ sleep 1
@ sleep $(RECORDING_DELAY)
endif
poetry run gitman update --force # some scripts have intentional errors
ifdef RECORDING
@ sleep 2
ifdef RECORDING_DELAY
@ sleep $(RECORDING_DELAY)
@ sleep $(RECORDING_DELAY)
@ clear
@ sleep 1
@ sleep $(RECORDING_DELAY)
endif
poetry run gitman list
ifdef RECORDING
@ sleep 2
ifdef RECORDING_DELAY
@ sleep $(RECORDING_DELAY)
@ sleep $(RECORDING_DELAY)
@ clear
@ sleep 1
@ sleep $(RECORDING_DELAY)
endif
poetry run gitman lock
ifdef RECORDING
@ sleep 2
ifdef RECORDING_DELAY
@ sleep $(RECORDING_DELAY)
@ sleep $(RECORDING_DELAY)
@ clear
@ sleep 1
@ sleep $(RECORDING_DELAY)
endif
poetry run gitman uninstall
ifdef RECORDING
@ sleep 2
ifdef RECORDING_DELAY
@ sleep $(RECORDING_DELAY)
@ sleep $(RECORDING_DELAY)
@ clear
@ sleep 1
@ sleep $(RECORDING_DELAY)
endif

# SYSTEM DEPENDENCIES #########################################################
Expand Down Expand Up @@ -169,9 +174,9 @@ docs/*.png: $(MODULES)

docs/demo.gif: docs/demo.cast
asciicast2gif $< $@
docs/demo.cast:
resize -s 30 127
poetry run asciinema rec $@ --overwrite --command "make demo RECORDING=true" --title "GitMan Demo"
docs/demo.cast: Makefile
resize -s 61 127
poetry run asciinema rec $@ --overwrite --command "make demo RECORDING_DELAY=1" --title "GitMan Demo"
poetry run asciinema upload $@

.PHONY: mkdocs-serve
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

GitMan is a language-agnostic dependency manager using Git. It aims to serve as a submodules replacement and provides advanced options for managing versions of nested Git repositories.

[![Demo](https://raw.githubusercontent.com/jacebrowning/gitman/main/docs/demo.gif)](https://asciinema.org/a/FKJWRYAkUHcAM5Z1PIbqMOKLk)
[![Demo](https://raw.githubusercontent.com/jacebrowning/gitman/main/docs/demo.gif)](https://asciinema.org/a/s0JI6iQsXpTgn1ztEpdHWHpNW)

[![Unix Build Status](https://img.shields.io/travis/jacebrowning/gitman/master.svg?label=unix)](https://travis-ci.org/jacebrowning/gitman)
[![Windows Build Status](https://img.shields.io/appveyor/ci/jacebrowning/gitman/master.svg?label=window)](https://ci.appveyor.com/project/jacebrowning/gitman)
Expand Down

0 comments on commit b7d5317

Please sign in to comment.