build

package
v0.3.1 Latest Latest
Warning

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

Go to latest
Published: Mar 5, 2019 License: MIT Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewBuildPlugin

func NewBuildPlugin(context *scope.Context, params manifest.RawParams, log logging.Logger) (plugins.Plugin, error)

NewBuildPlugin creates a new build plugin instance

Types

type CompileTarget

type CompileTarget struct {
	Os   string
	Arch string
}

CompileTarget struct contains information about compile target

type LinkerParams

type LinkerParams struct {
	StripDebugInfo bool
	LinkerFlags    []string
}

LinkerParams is set of params for linker (ln)

type Params

type Params struct {
	Source     string
	BuildMode  string
	OutputPath string
	Params     LinkerParams
	Target     CompileTarget
	Variables  scope.Vars
}

Params is params for the build plugin

type Plugin

type Plugin struct {
	// contains filtered or unexported fields
}

Plugin represents Gilbert's plugin

func (*Plugin) Call

func (p *Plugin) Call() error

Call calls a plugin

Jump to

Keyboard shortcuts

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