Loading...
Loading...
Build tool for Go projects. Use when the user wants to create, edit, or understand Way-specific Magefiles, build targets, or automate Go project tasks.
npx skill4agent add way-platform/skills way-magefile//go:build mage+build magemagefile.gomagefiles/package mainfunc Target()func Target() errorfunc Target(ctx context.Context) errormage -lmg.Deps(Func)mg.Depsmg.SerialDepsmage -initgithub.com/magefile/mage/shimport "github.com/magefile/mage/sh"
// ...
err := sh.Run("go", "build", "./...")import "github.com/magefile/mage/sh"
// ...
sh.Rm("bin")mgshtarget