build

package module
v0.0.0-...-b34dd80 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 16, 2019 License: MIT Imports: 16 Imported by: 0

README

magekit

Utilities for using from Magefiles

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CheckInstall

func CheckInstall(cmd string, install func() error) error

func CheckInstallGoConvey

func CheckInstallGoConvey() error

func CheckInstallLinter

func CheckInstallLinter() error

func CheckInstallPackr

func CheckInstallPackr() error

func Exist

func Exist(path string) (bool, error)

func GitTag

func GitTag(path, tag string) (*plumbing.Reference, error)

func GitTagExist

func GitTagExist(path, tag string) (bool, error)

func GitTagNotExist

func GitTagNotExist(path, tag string) error

func GitTags

func GitTags(path string) ([]string, error)

func GitWorktreeDirty

func GitWorktreeDirty(path string) (bool, error)

func GitWorktreeNotDirty

func GitWorktreeNotDirty(path string) error

func Monitor

func Monitor(path string, c chan Event, patterns ...string) error

func RunFilter

func RunFilter(data []byte, command string, args ...string) ([]byte, error)

func RunGit

func RunGit(args ...string) error

func RunGoConvey

func RunGoConvey(args ...string) error

func RunLinter

func RunLinter(args ...string) error

func RunPackr

func RunPackr(args ...string) error

Types

type Event

type Event struct {
	Path string
	Type string
}

func (*Event) String

func (e *Event) String() string

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL