tsuru

package
v0.3.1 Latest Latest
Warning

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

Go to latest
Published: Oct 26, 2015 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// Gommand to the current commit hash
	CmdRevParse = "COMMIT=$(git rev-parse HEAD)"

	// Command to set the git user and email based on the
	// individual that made the commit.
	CmdGlobalEmail = "git config --global user.email $(git --no-pager log -1 --pretty=format:'%ae')"
	CmdGlobalUser  = "git config --global user.name  $(git --no-pager log -1 --pretty=format:'%an')"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type Tsuru

type Tsuru struct {
	Force  bool   `yaml:"force,omitempty"`
	Remote string `yaml:"remote,omitempty"`

	Condition *condition.Condition `yaml:"when,omitempty"`
}

func (*Tsuru) GetCondition

func (t *Tsuru) GetCondition() *condition.Condition

func (*Tsuru) Write

func (t *Tsuru) Write(f *buildfile.Buildfile)

Jump to

Keyboard shortcuts

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