builder

package
v0.0.1 Latest Latest
Warning

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

Go to latest
Published: Mar 4, 2018 License: Apache-2.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Builder

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

func NewBuilder

func NewBuilder(opts ...Option) (builder *Builder, err error)

func (*Builder) Build

func (p *Builder) Build(porj ...string) (err error)

func (*Builder) ListProject

func (p *Builder) ListProject() []string

func (*Builder) Pull

func (p *Builder) Pull(porj ...string) (err error)

type Option

type Option func(*Options)

func ConfigFile

func ConfigFile(file string) Option

func NeedUpdate

func NeedUpdate(needUpdate bool) Option

type Options

type Options struct {
	ConfigFile string
	NeedUpdate bool
}

type Project

type Project struct {
	Name string
	// contains filtered or unexported fields
}

func NewProject

func NewProject(projName string, needUpdate bool, conf config.Configuration) (proj *Project, err error)

func (*Project) Build

func (p *Project) Build() (err error)

func (*Project) Pull

func (p *Project) Pull() (err error)

Directories

Path Synopsis
git

Jump to

Keyboard shortcuts

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