plan

package
v0.0.13 Latest Latest
Warning

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

Go to latest
Published: Aug 12, 2014 License: BSD-3-Clause, MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	RuleMakers = make(map[string]RuleMaker)
)

Functions

func CreateMakefile

func CreateMakefile(buildDataDir string, c *config.Tree, opt Options) (*makex.Makefile, error)

func RegisterRuleMaker

func RegisterRuleMaker(name string, r RuleMaker)

RegisterRuleMaker adds a function that creates a list of build rules for a repository. If RegisterRuleMaker is called twice with the same target or target name, if name is empty, or if r is nil, it panics.

func RepositoryCommitDataFilename

func RepositoryCommitDataFilename(emptyData interface{}) string

func SourceUnitDataFilename

func SourceUnitDataFilename(emptyData interface{}, u *unit.SourceUnit) string

Types

type Options added in v0.0.7

type Options struct {
	ToolchainExecOpt string
}

type RuleMaker

type RuleMaker func(c *config.Tree, dataDir string, existing []makex.Rule, opt Options) ([]makex.Rule, error)

Jump to

Keyboard shortcuts

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