asdf-golang/bin/list-legacy-filenames
Sora Morimoto d8dec15ccc
Hygiene (#113)
* Add Makefile for Hygiene

Signed-off-by: Sora Morimoto <sora@morimoto.io>

* make format

Signed-off-by: Sora Morimoto <sora@morimoto.io>

---------

Signed-off-by: Sora Morimoto <sora@morimoto.io>
Co-authored-by: Kenny Parnell <k.parnell@gmail.com>
2023-07-19 09:32:53 -04:00

19 lines
426 B
Bash
Executable File

#!/usr/bin/env bash
case "${ASDF_GOLANG_MOD_VERSION_ENABLED:-}" in
true)
printf ".go-version go.mod go.work\n"
;;
false)
printf ".go-version\n"
;;
*)
cat >&2 <<-EOF
Notice: Behaving like ASDF_GOLANG_MOD_VERSION_ENABLED=true
In the future this will have to be set to continue
reading from the go.mod and go.work files
EOF
printf ".go-version go.mod go.work\n"
;;
esac