Loading...
Loading...
Compare original and translation side by side
//go:build mage+build magemagefile.gomagefiles/package main//go:build mage+build magemagefile.gomagefiles/package mainfunc Target()func Target() errorfunc Target(ctx context.Context) errormage -lfunc Target()func Target() errorfunc Target(ctx context.Context) errormage -lmg.Deps(Func)mg.Depsmg.SerialDepsmg.Deps(Func)mg.Depsmg.SerialDepsmage -initmage -initgithub.com/magefile/mage/shimport "github.com/magefile/mage/sh"
// ...
err := sh.Run("go", "build", "./...")import "github.com/magefile/mage/sh"
// ...
sh.Rm("bin")github.com/magefile/mage/shimport "github.com/magefile/mage/sh"
// ...
err := sh.Run("go", "build", "./...")import "github.com/magefile/mage/sh"
// ...
sh.Rm("bin")mgshtargetmgshtarget