Browse Source

go run => go build & exec

pull/533/head
4 years ago committed by xpetit
parent
commit
583bbd18fe
  1. 3
      go/tests/entrypoint.sh

3
go/tests/entrypoint.sh

@ -43,5 +43,6 @@ if command -v "${EXERCISE}_test" >/dev/null 2>&1; then
"${EXERCISE}_test"
else
# The exercise is a function
go run "func/${EXERCISE}_test"
go build "func/${EXERCISE}_test"
"./${EXERCISE}_test"
fi

Loading…
Cancel
Save