build

package
v0.11.1 Latest Latest
Warning

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

Go to latest
Published: May 2, 2018 License: MIT Imports: 21 Imported by: 0 modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Builder

type Builder struct {
	Options
	// contains filtered or unexported fields
}

Builder builds a Buffalo binary

func New

func New(ctx context.Context, opts Options) *Builder

New Builder

func (*Builder) Cleanup

func (b *Builder) Cleanup() error

Cleanup after run. This is automatically run at the end of `Run`. It is provided publicly in-case a manual clean up is necessary.

func (*Builder) Run

func (b *Builder) Run() error

Run builds a Buffalo binary

type Options

type Options struct {
	meta.App
	ExtractAssets          bool     `json:"extract_assets"`
	WithAssets             bool     `json:"with_assets"`
	LDFlags                string   `json:"ld_flags"`
	Tags                   []string `json:"tags"`
	Static                 bool     `json:"static"`
	Debug                  bool     `json:"debug"`
	Compress               bool     `json:"compress"`
	Environment            string   `json:"environment"`
	SkipTemplateValidation bool     `json:"skip_template_validation"`
}

Options for a build

func (Options) String

func (o Options) String() string

Jump to

Keyboard shortcuts

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