builder

package
v0.0.6 Latest Latest
Warning

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

Go to latest
Published: Dec 15, 2023 License: GPL-3.0 Imports: 32 Imported by: 0

Documentation

Index

Constants

View Source
const DEFAULT_DEBUG_LEVEL = 5
View Source
const DEFAULT_WARNINGS_LEVEL = "none"

Variables

View Source
var INCLUDE_REGEXP = regexp.MustCompile("(?ms)^\\s*#[ \t]*include\\s*[<\"](\\S+)[\">]")

Functions

func IncludesFinderWithRegExp

func IncludesFinderWithRegExp(source string) string

func PreprocessSketch

func PreprocessSketch(ctx *types.Context) error

func PreprocessSketchWithArduinoPreprocessor

func PreprocessSketchWithArduinoPreprocessor(ctx *types.Context) error

func PrintRingNameIfDebug

func PrintRingNameIfDebug(ctx *types.Context, command types.Command)

func ResolveLibrary

func ResolveLibrary(ctx *types.Context, header string) *libraries.Library

func RunBuilder

func RunBuilder(ctx *types.Context) error

func RunParseHardware

func RunParseHardware(ctx *types.Context) error

func RunPreprocess

func RunPreprocess(ctx *types.Context) error

Types

type AddAdditionalEntriesToContext

type AddAdditionalEntriesToContext struct{}

func (*AddAdditionalEntriesToContext) Run

type Builder

type Builder struct{}

func (*Builder) Run

func (s *Builder) Run(ctx *types.Context) error

type ContainerBuildOptions

type ContainerBuildOptions struct{}

func (*ContainerBuildOptions) Run

type ContainerFindIncludes

type ContainerFindIncludes struct{}

func (*ContainerFindIncludes) Run

type ContainerSetupHardwareToolsLibsSketchAndProps

type ContainerSetupHardwareToolsLibsSketchAndProps struct{}

func (*ContainerSetupHardwareToolsLibsSketchAndProps) Run

type CreateBuildOptionsMap

type CreateBuildOptionsMap struct{}

func (*CreateBuildOptionsMap) Run

type ExportProjectCMake

type ExportProjectCMake struct {
	// Was there an error while compiling the sketch?
	SketchError bool
}

func (*ExportProjectCMake) Run

func (s *ExportProjectCMake) Run(ctx *types.Context) error

type FailIfBuildPathEqualsSketchPath

type FailIfBuildPathEqualsSketchPath struct{}

func (*FailIfBuildPathEqualsSketchPath) Run

type FailIfImportedLibraryIsWrong

type FailIfImportedLibraryIsWrong struct{}

func (*FailIfImportedLibraryIsWrong) Run

type LibrariesLoader

type LibrariesLoader struct{}

func (*LibrariesLoader) Run

func (s *LibrariesLoader) Run(ctx *types.Context) error

type LoadPreviousBuildOptionsMap

type LoadPreviousBuildOptionsMap struct{}

func (*LoadPreviousBuildOptionsMap) Run

type MergeSketchWithBootloader

type MergeSketchWithBootloader struct{}

func (*MergeSketchWithBootloader) Run

type Preprocess

type Preprocess struct{}

func (*Preprocess) Run

func (s *Preprocess) Run(ctx *types.Context) error

type PrintUsedAndNotUsedLibraries

type PrintUsedAndNotUsedLibraries struct {
	// Was there an error while compiling the sketch?
	SketchError bool
}

func (*PrintUsedAndNotUsedLibraries) Run

type PrintUsedLibrariesIfVerbose

type PrintUsedLibrariesIfVerbose struct{}

func (*PrintUsedLibrariesIfVerbose) Run

type RecipeByPrefixSuffixRunner

type RecipeByPrefixSuffixRunner struct {
	Prefix                                string
	Suffix                                string
	SkipIfOnlyUpdatingCompilationDatabase bool
}

func (*RecipeByPrefixSuffixRunner) Run

type StoreBuildOptionsMap

type StoreBuildOptionsMap struct{}

func (*StoreBuildOptionsMap) Run

func (s *StoreBuildOptionsMap) Run(ctx *types.Context) error

type UnusedCompiledLibrariesRemover

type UnusedCompiledLibrariesRemover struct{}

func (*UnusedCompiledLibrariesRemover) Run

type WarnAboutArchIncompatibleLibraries

type WarnAboutArchIncompatibleLibraries struct{}

func (*WarnAboutArchIncompatibleLibraries) Run

type WipeoutBuildPathIfBuildOptionsChanged

type WipeoutBuildPathIfBuildOptionsChanged struct{}

func (*WipeoutBuildPathIfBuildOptionsChanged) Run

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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