config

package
v0.1.2 Latest Latest
Warning

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

Go to latest
Published: Dec 30, 2016 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type BuildConfig

type BuildConfig struct {
	Oses   []string
	Arches []string
	Main   string
}

type GitInfo added in v0.1.1

type GitInfo struct {
	CurrentTag  string
	PreviousTag string
	Diff        string
}

type HomebrewDeploy

type HomebrewDeploy struct {
	Repo    string
	Token   string
	Caveats string
}

type ProjectConfig

type ProjectConfig struct {
	Repo       string
	BinaryName string `yaml:"binary_name"`
	Files      []string
	Brew       HomebrewDeploy
	Token      string
	Build      BuildConfig
	Git        GitInfo `yaml:"_"`
}

func Load

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

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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