Documentation ¶
Index ¶
- Constants
- func ArchiveCompiledFiles(ctx *types.Context, buildPath string, archiveFile string, objectFiles []string, ...) (string, error)
- func CompileFiles(ctx *types.Context, objectFiles []string, sourcePath string, recurse bool, ...) ([]string, error)
- func CompileFilesRecursive(ctx *types.Context, objectFiles []string, sourcePath string, buildPath string, ...) ([]string, error)
- func CopyFile(src, dst string) (err error)
- func CoreOrReferencedCoreHasChanged(corePath, targetCorePath, targetFile string) bool
- func ExecRecipe(ctx *types.Context, buildProperties properties.Map, recipe string, ...) ([]byte, []byte, error)
- func GetCachedCoreArchiveFileName(fqbn, coreFolder string) string
- func ObjFileIsUpToDate(ctx *types.Context, sourceFile, objectFile, dependencyFile string) (bool, error)
- func PrepareCommandForRecipe(ctx *types.Context, buildProperties properties.Map, recipe string, ...) (*exec.Cmd, error)
- func PrintProgressIfProgressEnabledAndMachineLogger(ctx *types.Context)
- func TXTBuildRulesHaveChanged(corePath, targetCorePath, targetFile string) bool
Constants ¶
View Source
const COMMANDLINE_LIMIT = 30000
Variables ¶
This section is empty.
Functions ¶
func ArchiveCompiledFiles ¶
func CompileFiles ¶
func CompileFilesRecursive ¶
func CopyFile ¶
CopyFile copies the contents of the file named src to the file named by dst. The file will be created if it does not already exist. If the destination file exists, all it's contents will be replaced by the contents of the source file. The file mode will be copied from the source and the copied data is synced/flushed to stable storage.
func ExecRecipe ¶
func ExecRecipe(ctx *types.Context, buildProperties properties.Map, recipe string, removeUnsetProperties bool, stdout int, stderr int) ([]byte, []byte, error)
See util.ExecCommand for stdout/stderr arguments
func GetCachedCoreArchiveFileName ¶
GetCachedCoreArchiveFileName returns the filename to be used to store the global cached core.a.
func ObjFileIsUpToDate ¶
func PrepareCommandForRecipe ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.