mage: github.com/magefile/mage/internal Index | Files

package internal

import "github.com/magefile/mage/internal"

Index

Package Files

run.go

func EnvWithCurrentGOOS Uses

func EnvWithCurrentGOOS() ([]string, error)

EnvWithCurrentGOOS returns a copy of os.Environ with the GOOS and GOARCH set to runtime.GOOS and runtime.GOARCH.

func EnvWithGOOS Uses

func EnvWithGOOS(goos, goarch string) ([]string, error)

EnvWithGOOS retuns the os.Environ() values with GOOS and/or GOARCH either set to their runtime value, or the given value if non-empty.

func OutputDebug Uses

func OutputDebug(cmd string, args ...string) (string, error)

func RunDebug Uses

func RunDebug(cmd string, args ...string) error

func SetDebug Uses

func SetDebug(l *log.Logger)

Package internal imports 8 packages (graph) and is imported by 4 packages. Updated 2018-12-11. Refresh now. Tools for package owners.