a2d/desk.acc/go.sh

18 lines
285 B
Bash
Raw Normal View History

2017-08-29 03:58:09 +00:00
#!/bin/bash
set -e
#make clean
2017-09-04 20:51:51 +00:00
make all
2017-08-29 03:58:09 +00:00
function verify {
diff "$1.bin" "$1.F1" && echo "$1: files match"
}
2017-08-29 03:58:09 +00:00
# Verify original and output match
verify "calculator"
verify "show_text_file"
2017-08-29 03:58:09 +00:00
2017-09-05 02:44:55 +00:00
cat show_image_file.F1 > mount/SHOW.IMAGE.FILE.\$F1 \
2017-09-04 23:00:09 +00:00
&& echo "Updated mounted file"