13 lines
193 B
Bash
13 lines
193 B
Bash
|
#!/bin/sh
|
||
|
|
||
|
if [ "x$1" = 'x' ]; then
|
||
|
echo 'param to `go test --run ...` missing'
|
||
|
exit 1
|
||
|
fi
|
||
|
|
||
|
while true; do
|
||
|
go test --run "$1"
|
||
|
fsnotifywait -qqr -e close_write .. && clear;
|
||
|
done
|
||
|
|