lib/Tools/gofmt
author desharna
Fri, 04 Apr 2025 15:27:28 +0200
changeset 82397 ae2af2e085fd
parent 80013 f1686f71dffc
permissions -rwxr-xr-x
added proof method "iprover" to try0

#!/usr/bin/env bash
#
# Author: Makarius
#
# DESCRIPTION: invoke gofmt within the Isabelle environment

if [ -z "$ISABELLE_GOEXE" ]; then
  echo "Missing Go installation: need to run \"isabelle go_setup\" first" >&2
  exit 2
else
  export GOROOT="$(platform_path "$ISABELLE_GOROOT")"
  exec "$ISABELLE_GOEXE/gofmt" "$@"
fi