cmdbuild

package
v3.1.12+incompatible Latest Latest
Warning

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

Go to latest
Published: Apr 29, 2020 License: MIT Imports: 17 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Run

func Run(opts Opts)

Types

type Opts

type Opts struct {
	BuildDir     string
	Version      string // version to use in s3 upload
	Upload       bool   // set to true to upload to s3
	OnlyUpload   bool   // set to true to skip build and upload existing files in dist dir. Also sets upload to true.
	OnlyPlatform string // only build for this platform
	OnlyAgent    bool   // build only agent and skip the rest
	SkipArchives bool   // do not create zips and gzips
}

type Platform

type Platform struct {
	UserFriedlyName string
	GOOS            string
	GOARCH          string
	BinSuffix       string
}

func (Platform) OSArch

func (s Platform) OSArch() string

type Platforms

type Platforms []Platform

func (Platforms) Each

func (s Platforms) Each(cb func(pl Platform))

func (Platforms) String

func (s Platforms) String() string

Jump to

Keyboard shortcuts

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