Documentation ¶
Index ¶
- Constants
- type ArcherFile
- type Builder
- type Fpm
- func (f *Fpm) Arch(arch string) *Fpm
- func (f *Fpm) Branch(branch string) *Fpm
- func (f *Fpm) Description(description string) *Fpm
- func (f *Fpm) FileGroup(group string) *Fpm
- func (f *Fpm) FileUser(user string) *Fpm
- func (f *Fpm) Iteration(iteration string) *Fpm
- func (f *Fpm) License(license string) *Fpm
- func (f *Fpm) Maintainer(maintainer string) *Fpm
- func (f *Fpm) Name(name string) *Fpm
- func (f *Fpm) Requirement(name string, operation string, version string) *Fpm
- func (f *Fpm) Run() error
- func (f *Fpm) Url(url string) *Fpm
- func (f *Fpm) VcsRevision(vcsRev string) *Fpm
- func (f *Fpm) Vendor(vendor string) *Fpm
- func (f *Fpm) Version(version string) *Fpm
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 ¶
func NewBuilder ¶
func NewBuilder() *Builder
func (*Builder) OutputPath ¶
func (*Builder) TargetPath ¶
type Fpm ¶
type Fpm struct {
// contains filtered or unexported fields
}
func (*Fpm) Description ¶
func (*Fpm) Maintainer ¶
func (*Fpm) Requirement ¶
func (*Fpm) VcsRevision ¶
Click to show internal directories.
Click to hide internal directories.