plan

package
v0.0.6 Latest Latest
Warning

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

Go to latest
Published: Aug 1, 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.Repository) (*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 RuleMaker

type RuleMaker func(c *config.Repository, 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