builder_utils

package
v0.0.0-...-bb7d413 Latest Latest
Warning

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

Go to latest
Published: Sep 12, 2018 License: GPL-2.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

View Source
const COMMANDLINE_LIMIT = 30000

Variables

This section is empty.

Functions

func ArchiveCompiledFiles

func ArchiveCompiledFiles(ctx *types.Context, buildPath *paths.Path, archiveFile *paths.Path, objectFilesToArchive paths.PathList, buildProperties properties.Map) (*paths.Path, error)

func CompileFiles

func CompileFiles(ctx *types.Context, sourcePath *paths.Path, recurse bool, buildPath *paths.Path, buildProperties properties.Map, includes []string) (paths.PathList, error)

func CompileFilesRecursive

func CompileFilesRecursive(ctx *types.Context, sourcePath *paths.Path, buildPath *paths.Path, buildProperties properties.Map, includes []string) (paths.PathList, error)

func CoreOrReferencedCoreHasChanged

func CoreOrReferencedCoreHasChanged(corePath, targetCorePath, targetFile *paths.Path) bool

func ExecRecipe

func ExecRecipe(ctx *types.Context, buildProperties properties.Map, recipe string, removeUnsetProperties bool, stdout int, stderr int) ([]byte, []byte, error)

func GetCachedCoreArchiveFileName

func GetCachedCoreArchiveFileName(fqbn string, coreFolder *paths.Path) string

GetCachedCoreArchiveFileName returns the filename to be used to store the global cached core.a.

func ObjFileIsUpToDate

func ObjFileIsUpToDate(ctx *types.Context, sourceFile, objectFile, dependencyFile *paths.Path) (bool, error)

func PrepareCommandForRecipe

func PrepareCommandForRecipe(ctx *types.Context, buildProperties properties.Map, recipe string, removeUnsetProperties bool) (*exec.Cmd, error)

func PrintProgressIfProgressEnabledAndMachineLogger

func PrintProgressIfProgressEnabledAndMachineLogger(ctx *types.Context)

func TXTBuildRulesHaveChanged

func TXTBuildRulesHaveChanged(corePath, targetCorePath, targetFile *paths.Path) bool

Types

This section is empty.

Jump to

Keyboard shortcuts

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