Skip to content

Commit 4e22cba

Browse files
committed
fix: improve basic.tape to build in custom docker container
This ensures that it works from any platform
1 parent 3f083e9 commit 4e22cba

1 file changed

Lines changed: 11 additions & 3 deletions

File tree

vhs/basic.tape

Lines changed: 11 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,18 +2,26 @@
22

33
Output vhs/basic.gif
44

5-
Require countdown
6-
75
Set Shell "bash"
86
Set FontSize 32
97
Set Width 1200
108
Set Height 300
119

1210
Env PATH "/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/vhs"
1311

12+
# Setup
13+
Hide
14+
Type 'eval "$(/home/linuxbrew/.linuxbrew/bin/brew shellenv bash)"'
15+
Enter
16+
Type "go build -o countdown ."
17+
Enter
18+
Wait
19+
Type "clear"
20+
Enter
21+
Show
22+
1423
# Script for recording
1524

16-
# Type './countdown --spinner "bomb" --range "10..0" --title "Implosion in"' Sleep 1s
1725
Type './countdown --spinner "bomb" --range "10..0" \'
1826
Enter
1927
Type ' --title "Implosion in"' Sleep 1s

0 commit comments

Comments
 (0)