#!/usr/bin/env bash #/ Usage: script/test # run all tests #/ script/test # run just a package's tests script/fmt suite="./${1:-"lfs"} ./${1:-"git"}" if [ $# -gt 0 ]; then shift fi go test $suite "$@"