config

package
v0.5.7 Latest Latest
Warning

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

Go to latest
Published: Jan 18, 2017 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Archive added in v0.5.0

type Archive struct {
	Format       string
	NameTemplate string `yaml:"name_template"`
	Replacements map[string]string
	Files        []string
}

Archive config used for the archive

type Build added in v0.5.0

type Build struct {
	Goos       []string
	Goarch     []string
	Main       string
	Ldflags    string
	BinaryName string `yaml:"binary_name"`
}

Build contains the build configuration section

type Homebrew added in v0.1.6

type Homebrew struct {
	Repo         string
	Folder       string
	Caveats      string
	Dependencies []string
}

Homebrew contains the brew section

type Project added in v0.5.0

type Project struct {
	Release Release
	Brew    Homebrew
	Build   Build
	Archive Archive
}

Project includes all project configuration

func Load

func Load(file string) (config Project, err error)

Load config file

type Release added in v0.5.0

type Release struct {
	Repo string
}

Release config used for the GitHub release

Jump to

Keyboard shortcuts

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