diff --git a/cmd_gen/main.go b/cmd_gen/main.go index ae5b5e7..6ba4b17 100644 --- a/cmd_gen/main.go +++ b/cmd_gen/main.go @@ -276,7 +276,7 @@ function run-dir() { go mod init &> /dev/null || status=1 go mod tidy &> /dev/null || status=1 goimports -w *.go &> /dev/null || status=1 - go build ./... &> /dev/null || status=1 + go build &> /dev/null || status=1 fi if [[ $status -eq "1" ]]; then # Only output if there is an error: otherwise the gist comment is too long. diff --git a/cmd_gen/main_test.go b/cmd_gen/main_test.go index 763aefa..c91c083 100644 --- a/cmd_gen/main_test.go +++ b/cmd_gen/main_test.go @@ -254,7 +254,7 @@ function run-dir() { fi if [[ $status -eq "1" ]]; then # Only output if there is an error: otherwise the gist comment is too long. - go build ./... &>> ${prefix}pass || status=1 + go build &>> ${prefix}pass || status=1 mv ${prefix}pass ${prefix}fail fi }