blob: 9f20c08ae07176d68ab261b65ade44c638a0f007 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
|
#!/bin/bash
set -e
this_dir="$(dirname "$0")"
source $this_dir/robot.sh
card_no=15
function run_drill {
## Org-drill should be running at this point, so give three answers
## with a score of file
sleep_big
for i in `seq 1 $card_no`;
do
echo Answer: $i
send_answer
done
## Press any key to continue
echo press any key to continue
retn
sleep_small
echo Save file
key y
}
launch_emacs $this_dir/spanish-run.el
{
find_bot
## Run once with default options
run_drill
wait_emacs
} || cat robot/failure.txt
|