archer

package
v0.0.0-...-aa01b92 Latest Latest
Warning

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

Go to latest
Published: May 24, 2017 License: Apache-2.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

View Source
const (
	DefaultAfPath     = "Archerfile"
	DefaultTargetPath = "build"
	DefaultOutPath    = "pkg"
	ScriptDir         = "archer-scripts"
	ConfPath          = "/usr/lib/archer/package.d"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type ArcherFile

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

func NewArcherFile

func NewArcherFile(path string) *ArcherFile

func (*ArcherFile) Load

func (a *ArcherFile) Load() (string, error)

type Builder

type Builder struct {
	*emission.Emitter
	// contains filtered or unexported fields
}

func NewBuilder

func NewBuilder() *Builder

func (*Builder) AfPath

func (b *Builder) AfPath(af string) *Builder

func (*Builder) Build

func (b *Builder) Build() error

func (*Builder) Debug

func (b *Builder) Debug(debug bool) *Builder

func (*Builder) OutputPath

func (b *Builder) OutputPath(op string) *Builder

func (*Builder) TargetPath

func (b *Builder) TargetPath(tp string) *Builder

func (*Builder) WorkPath

func (b *Builder) WorkPath(wp string) *Builder

type Fpm

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

func NewFpm

func NewFpm(format string, workPath string, outputPath string, targetPath string, debug bool) (*Fpm, error)

func (*Fpm) Arch

func (f *Fpm) Arch(arch string) *Fpm

func (*Fpm) Branch

func (f *Fpm) Branch(branch string) *Fpm

func (*Fpm) Description

func (f *Fpm) Description(description string) *Fpm

func (*Fpm) FileGroup

func (f *Fpm) FileGroup(group string) *Fpm

func (*Fpm) FileUser

func (f *Fpm) FileUser(user string) *Fpm

func (*Fpm) Iteration

func (f *Fpm) Iteration(iteration string) *Fpm

func (*Fpm) License

func (f *Fpm) License(license string) *Fpm

func (*Fpm) Maintainer

func (f *Fpm) Maintainer(maintainer string) *Fpm

func (*Fpm) Name

func (f *Fpm) Name(name string) *Fpm

func (*Fpm) Requirement

func (f *Fpm) Requirement(name string, operation string, version string) *Fpm

func (*Fpm) Run

func (f *Fpm) Run() error

func (*Fpm) Url

func (f *Fpm) Url(url string) *Fpm

func (*Fpm) VcsRevision

func (f *Fpm) VcsRevision(vcsRev string) *Fpm

func (*Fpm) Vendor

func (f *Fpm) Vendor(vendor string) *Fpm

func (*Fpm) Version

func (f *Fpm) Version(version string) *Fpm

Jump to

Keyboard shortcuts

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