alibuild

package module
v0.0.0-...-fa4e616 Latest Latest
Warning

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

Go to latest
Published: Nov 12, 2018 License: GPL-3.0 Imports: 3 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AliBuild

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

AliBuild is the type representing the ALICE build tool

func New

func New(exe, packageName string, env []string) *AliBuild

New constructs an aliBuild type

func (AliBuild) Build

func (ab AliBuild) Build(args string, opts ...shell.Option) *shell.Result

Build maps to the alibuild build command

func (AliBuild) Clean

func (ab AliBuild) Clean(debug bool) *shell.Result

Clean maps to the alibuild clean command

func (AliBuild) CommandHelp

func (ab AliBuild) CommandHelp(name string) *shell.Result

CommandHelp maps to the alibuild help for the given subcommand

func (*AliBuild) DefaultEnv

func (ab *AliBuild) DefaultEnv() []string

DefaultEnv returns the default environement that is applied for each aliBuild command. These can be overridden or appended to using a shell.Env option when calling a particular command.

func (AliBuild) Doctor

func (ab AliBuild) Doctor(args string, opts ...shell.Option) *shell.Result

Doctor maps to the alibuild doctor command

func (*AliBuild) HasFetchReposOption

func (ab *AliBuild) HasFetchReposOption() bool

HasFetchReposOption checks for the --fetch-repos option in the output of the aliBuild build --help command

func (AliBuild) Help

func (ab AliBuild) Help() *shell.Result

Help maps to the alibuild top level help command

func (*AliBuild) Package

func (ab *AliBuild) Package() string

Package returns the name of the package upon which aliBuild commands will act

func (*AliBuild) SetPackageName

func (ab *AliBuild) SetPackageName(p string)

SetPackageName allows one to set the package to run on

func (AliBuild) Version

func (ab AliBuild) Version() (string, error)

func (*AliBuild) Which

func (ab *AliBuild) Which() string

Which returns the path to the alibuild executable being used

Jump to

Keyboard shortcuts

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