Skip to content

Commit

Permalink
Create demo output dir if it doesn't already exist (#2857)
Browse files Browse the repository at this point in the history
  • Loading branch information
jesseduffield committed Jul 31, 2023
2 parents b92c294 + b262e7f commit 4baecec
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions demo/record_demo.sh
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,8 @@ NAME=$(echo "$TEST" | sed -e 's/.*\///' | sed -e 's/\..*//')

go generate pkg/integration/tests/tests.go

mkdir -p demo/output

terminalizer -c demo/config.yml record --skip-sharing -d "go run cmd/integration_test/main.go cli --slow $TEST" "demo/output/$NAME"
terminalizer render "demo/output/$NAME" -o "demo/output/$NAME.gif"
gifsicle --colors 256 --use-col=web -O3 < "demo/output/$NAME.gif" > "demo/output/$NAME-compressed.gif"
Expand Down

0 comments on commit 4baecec

Please sign in to comment.