diff options
author | Jesse Duffield <jessedduffield@gmail.com> | 2023-08-01 09:12:39 +1000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-08-01 09:12:39 +1000 |
commit | 4baecec7bf3ab8f6914a624b5631d2a394b02f60 (patch) | |
tree | dca750ef1a9bef3ca4fa7889eae3d4b820a9996b | |
parent | b92c29405930458dbaa6dbe242eb4576e3d462f2 (diff) | |
parent | b262e7f9b83222a0de70e92bb590914af7ae5575 (diff) |
Create demo output dir if it doesn't already exist (#2857)
-rwxr-xr-x | demo/record_demo.sh | 2 |
1 files changed, 2 insertions, 0 deletions
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" |