hep: go-hep.org/x/hep/fwk/utils/builder Index | Files

package builder

import "go-hep.org/x/hep/fwk/utils/builder"

package builder builds a fwk-app binary from a list of go files.

builder's architecture and sources are heavily inspired from golint:



Package Files

builder.go templates.go

type Builder Uses

type Builder struct {
    Name  string // name of resulting compiled binary
    Usage string // usage string displayed by compiled binary (with -help)
    // contains filtered or unexported fields

Builder generates and builds fwk-based applications.

func NewBuilder Uses

func NewBuilder(fnames ...string) (*Builder, error)

NewBuilder creates a Builder from a list of file names or directories

func (*Builder) Build Uses

func (b *Builder) Build() error

Build applies some type-checking, collects setup functions and generates the sources of the fwk-based application.

Package builder imports 12 packages (graph) and is imported by 1 packages. Updated 2019-05-31. Refresh now. Tools for package owners.