github.com/coreos/goproxy@v0.0.0-20190513173959-f8dc2d7ba04e/all.bash (about) 1 #!/bin/bash 2 3 go test || exit 4 for action in $@; do go $action; done 5 6 mkdir -p bin 7 find regretable examples/* ext/* -maxdepth 0 -type d | while read d; do 8 (cd $d 9 go build -o ../../bin/$(basename $d) 10 find *_test.go -maxdepth 0 2>/dev/null|while read f;do 11 for action in $@; do go $action; done 12 go test 13 break 14 done) 15 done