feat: include vhs demo
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
13
scripts/record.sh
Executable file
13
scripts/record.sh
Executable file
@@ -0,0 +1,13 @@
|
||||
#!/usr/bin/env zsh
|
||||
|
||||
set -e
|
||||
|
||||
# Loop through each file in the folder
|
||||
for file in "vhs"/*; do
|
||||
# Check if it is a file (not a directory)
|
||||
if [[ -f "$file" ]]; then
|
||||
echo "Recording: $file"
|
||||
|
||||
vhs "./$file"
|
||||
fi
|
||||
done
|
9
scripts/update-gifs.sh
Executable file
9
scripts/update-gifs.sh
Executable file
@@ -0,0 +1,9 @@
|
||||
#!/usr/bin/env zsh
|
||||
|
||||
rm -r assets/gifs
|
||||
|
||||
set -e
|
||||
|
||||
cuddle x record
|
||||
mkdir -p assets/gifs
|
||||
mv target/vhs/* assets/gifs
|
Reference in New Issue
Block a user