plan

package
v0.2.5 Latest Latest
Warning

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

Go to latest
Published: Mar 22, 2016 License: BSD-3-Clause, MIT Imports: 7 Imported by: 30

Documentation

Index

Constants

This section is empty.

Variables

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

Functions

func CreateMakefile

func CreateMakefile(buildDataDir string, buildStore buildstore.RepoBuildStore, vcsType string, c *config.Tree) (*makex.Makefile, error)

CreateMakefile creates the makefiles for the source units in c.

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 RuleMaker

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

Jump to

Keyboard shortcuts

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