Documentation
¶
Index ¶
- Variables
- func CatchFailure(start time.Time)
- func Main()
- type B
- func (b *B) Assert(err error)
- func (b *B) Build(t target)
- func (b *B) Check(err error)
- func (b *B) Close(c io.Closer)
- func (b *B) Copy(destination string, paths ...string) Copy
- func (b *B) Debug(v ...interface{})
- func (b *B) Debugf(format string, v ...interface{})
- func (b *B) Debugln(v ...interface{})
- func (b *B) Dep(args ...string) Tool
- func (b *B) Docker(args ...string) Tool
- func (b *B) Exe(os string) string
- func (b *B) Fatal(v ...interface{})
- func (b *B) Fatalf(format string, v ...interface{})
- func (b *B) Fatalln(v ...interface{})
- func (b *B) Git(args ...string) Tool
- func (b *B) GitCommit() string
- func (b *B) GitDirty() bool
- func (b *B) GitShortCommit() string
- func (b *B) GitTag() string
- func (b *B) GitVersion() string
- func (b *B) Go(args ...string) Tool
- func (b *B) GoMetaLinter(args ...string) Tool
- func (b *B) Helper()
- func (b *B) Jq(args ...string) Tool
- func (b *B) MakeCommand(name string, args ...string) Command
- func (b *B) MakeTarget(name, description string, f func(*B)) target
- func (b *B) MakeTool(name, check, url, instructions string, args ...string) Tool
- func (b *B) Print(v ...interface{})
- func (b *B) Printf(format string, v ...interface{})
- func (b *B) Println(v ...interface{})
- func (b *B) Remove(paths ...string) Remove
- func (b *B) Run()
- func (b *B) Tar(args ...string) compression
- func (b *B) Vndr(args ...string) Tool
- func (b *B) WithOS(f func(goos string))
- func (b *B) Zip(args ...string) compression
- type Command
- type Copy
- type Remove
- type Tar
- type Tool
- type Zip
Constants ¶
This section is empty.
Variables ¶
View Source
var ( Quiet = flag.Bool("q", false, "quiet output") Verbose = flag.Bool("v", false, "verbose output") )
View Source
var (
AlpineVersion = "3.8"
)
View Source
var DepVersion = "v0.4.1"
View Source
var GoMetaLinterVersion = "2.0.5"
View Source
var GoVersion = "1.10.3"
View Source
var VndrCommit = "1fc68ee0c852556a9ed53cbde16247033f104111"
Functions ¶
func CatchFailure ¶
Types ¶
type B ¶
type B struct {
// contains filtered or unexported fields
}
func (*B) GitShortCommit ¶
func (*B) GitVersion ¶
func (*B) GoMetaLinter ¶
func (*B) MakeTarget ¶
type Command ¶
type Command struct {
// contains filtered or unexported fields
}
func (Command) WithSuccess ¶
type Copy ¶
type Copy struct {
// contains filtered or unexported fields
}
Copy wraps a files and folders copy operation.
func (Copy) WithFileset ¶
WithFileset adds a fileset to copy.
type Remove ¶
type Remove struct {
// contains filtered or unexported fields
}
Remove wraps a files and folders remove operation.
func (Remove) WithFileset ¶
WithFileset adds a fileset for deletion.
type Tool ¶
type Tool struct {
// contains filtered or unexported fields
}
func (Tool) WithSuccess ¶
Source Files
¶
Click to show internal directories.
Click to hide internal directories.