env

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Aug 3, 2022 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// toolchain
	EnvEBuildExecutable = "EBUILD_EXECUTABLE_PATH"
	EnvElangDir         = "ELANG_DIR"
	EnvEclDir           = "ECL_DIR"
	EnvE2TxtDir         = "E2TXT_DIR"

	// project
	EnvEBuildProjectRootDir   = "EBUILD_PROJECT_ROOT_DIR"
	EnvEBuildProjectOutputDir = "EBUILD_PROJECT_OUTPUT_DIR"

	// hooks
	EnvEBuildPeriod     = "EBUILD_PERIOD"
	EnvEBuildSourceFile = "EBUILD_SOURCE_FILE"
	EnvEBuildTargetFile = "EBUILD_TARGET_FILE"
	EnvEBuildTargetType = "EBUILD_TARGET_TYPE"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type Env

type Env struct {
	// contains filtered or unexported fields
}

func NewEnv

func NewEnv() *Env

func (*Env) EnvMap

func (e *Env) EnvMap() map[string]string

func (*Env) ForBuild

func (e *Env) ForBuild(sourceFile string, targetFile string, targetType sources.EBuildTargetType, buildPeriod hooks.EBuildPeriod)

func (*Env) Set

func (e *Env) Set(name, value string)

Jump to

Keyboard shortcuts

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