1
0
mirror of https://github.com/jesseduffield/lazygit.git synced 2024-11-24 08:52:21 +02:00

Create demo output dir if it doesn't already exist

This commit is contained in:
Jesse Duffield 2023-08-01 09:12:23 +10:00
parent b92c294059
commit b262e7f9b8

View File

@ -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"