From b262e7f9b83222a0de70e92bb590914af7ae5575 Mon Sep 17 00:00:00 2001 From: Jesse Duffield Date: Tue, 1 Aug 2023 09:12:23 +1000 Subject: [PATCH] Create demo output dir if it doesn't already exist --- demo/record_demo.sh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/demo/record_demo.sh b/demo/record_demo.sh index 92ab4033c..d86e14ca5 100755 --- a/demo/record_demo.sh +++ b/demo/record_demo.sh @@ -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"