Skip to content

Asciinema recording

Dmitrii Kovanikov edited this page Mar 28, 2020 · 14 revisions

Configuration file to use for demo purposes:

owner      = "demo"
fullName   = "Summoner Demo"
email      = "[email protected]"

Plan for demo session:

# Let's scaffold a demo project from the scratch
summon new demo-project --no-upload without --benchmark with --test
... interactive process ...
  Name: demo-project
  Cabal: <Enter>
  Stack: <Enter>
  Description: Demo project
  Category: Testing, Demo
  GitHub actions: yes
  GitHub: yes
  Travis: yes
  AppVeyor: Y
  Lib: yes
  Exe: Y
  Tests: <Enter>
  Bench: y
  Custom prelude: <Enter> (relude, Relude)
  GHC versions: 8.6.5 8.6.6 8.6.7 -- to show error message
  GHC versions: 8.6.5

TUI Demo

# Let's scaffold a demo project from the scratch
summon new project-name without --benchmark with --test
... TUI Interface ...
  Name: demo-project
  Cabal:
  Stack:
  Description: Demo project
  Category: Testing, Demo
  GitHub actions: yes
  GitHub: yes
  Travis: yes
  AppVeyor: Y
  Lib: yes
  Exe: Y
  Tests: <Enter>
  Bench: y
  Custom prelude: <Enter> (relude, Relude)
  GHC versions: 8.6.5 8.6.6 8.6.7 -- to show error message
  GHC versions: 8.6.5
# Let's examine content of some generated files
cd demo-project
bat README.md
bat stack.yaml
bat demo-project.cabal
bat src/DemoProject.hs
bat test/Spec.hs
# Let's build the project!
cabal build --enable-tests
cabal test

Commands for recording and uploading demo:

asciinema rec -t "Summoner 2.0 CLI demo" -i 1 demo-summoner-cli.cast  # start recording
asciinema upload demo-summoner-cli.cast # upload demo
Clone this wiki locally