Mage Targets
Check the magefiles/ folder for an example.
mkdir magefiles
PKG="$(go list -m)"
( cd magefiles; go mod init "${PKG}/magefiles" )
go work init
go work use . ./magefiles
Then create a magefiles/magefile.go
like the example magefile.go.