PATH=$HOME/go/bin:$PATH
export PATH
-make
-make test
+flags=
+if test $# -ne 0; then
+ flags="$*"
+fi
+
+make $flags
+make test $flags
# Strict umask
umask 077
rm -rf *
git checkout .
-make
-make test
+make $flags
+make test $flags
# Additional static checks only run in CI
go get honnef.co/go/tools/cmd/staticcheck