build

package
v1.2.0 Latest Latest
Warning

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

Go to latest
Published: Jun 10, 2016 License: MIT Imports: 3 Imported by: 0

Documentation

Overview

Package build provides data structures and functions to run app builds and Device Farm tests.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Build

type Build struct {
	Log      util.Logger
	Dir      string
	Branch   string
	Config   *config.Config
	Manifest *config.BuildManifest
	Client   *awsutil.DeviceFarm
}

A Build specifies all information needed to run a local app build: the working directory, the current Git branch of that directory, the full repo config, and the particular manifest for the given branch.

func New

func New(log util.Logger, dir string, configFile string) (*Build, error)

Creates a new Build from a directory and a config file

func (*Build) Run

func (build *Build) Run() error

Jump to

Keyboard shortcuts

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