mage
mage copied to clipboard
a Make/rake-like dev tool using Go
This is primarily to enable passing in a working directory for the command, and adds functional options (instead of adding another variant of the existing commands). I didn't see https://github.com/magefile/mage/pull/444...
Fix #472
**Describe the feature** If you run multiple targets with `mg.Deps(a, b, c)` and a and b throws an error, it difficult to get the context. **What problem does this feature...
This PR adds a job on CI to check that code has been gofmt'd avoiding unnecessary and unrelated changes on PRs
i use `asdf` to install mage and i noticed that 1.15.0 is not able to be installed on my m1 mac. prior versions work fine - ❌ https://github.com/magefile/mage/releases/download/v1.15.0/mage_1.15.0_macOS-ARM64.tar.gz - ✅...
**Bug Description** Mage builds don't seem to account for replace directives at all times. **What did you do?** `mage build` with a go.mod file that has replace directive inside. ```golang...
Mage 1.14.0 package has been accepted to [winget](https://learn.microsoft.com/en-us/windows/package-manager/winget/) repository, see https://github.com/microsoft/winget-pkgs/pull/102752 ---- It should be [now available](https://github.com/microsoft/winget-pkgs/pull/102752#issuecomment-1513738471) and findable `winget search Magefile`: ![image](https://user-images.githubusercontent.com/80741/232895884-db043692-84a9-4b8c-927a-d59d54ba71be.png)
Hello. Did stdin problem solved? How can I do this without using **exec.Command** ```go out, err := sh.OutputWith(envMap, filepath.Join(GOBIN, "gocov"), "convert", coverFile) if err != nil { return fmt.Errorf("failed to...
**Describe the feature** This is a proposal to simplify the execution of multiple commands, where an error should stop this chain. Basically the behaviour of `make` when executing multiple commands...
**Describe the feature** I think it would be really nifty to be able to use mage in a make-like way with globs. Note: this is perhaps an alternative or enhancement...