nodes

package
v0.0.0-...-0a43815 Latest Latest
Warning

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

Go to latest
Published: Jan 30, 2024 License: MPL-2.0 Imports: 6 Imported by: 0

Documentation

Overview

Package nodes defines the nodes that are present in the execution graph used by turbo.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type PackageTask

type PackageTask struct {
	TaskID          string
	Task            string
	PackageName     string
	Pkg             *fs.PackageJSON
	EnvMode         util.EnvMode
	TaskDefinition  *fs.TaskDefinition
	Dir             string
	Command         string
	Outputs         []string
	ExcludedOutputs []string
	Hash            string
}

PackageTask represents running a particular task in a particular package

func (*PackageTask) HashableOutputs

func (pt *PackageTask) HashableOutputs() hash.TaskOutputs

HashableOutputs returns the package-relative globs for files to be considered outputs of this task

func (*PackageTask) OutputPrefix

func (pt *PackageTask) OutputPrefix(isSinglePackage bool) string

OutputPrefix returns the prefix to be used for logging and ui for this task

func (*PackageTask) RepoRelativeSystemLogFile

func (pt *PackageTask) RepoRelativeSystemLogFile() string

RepoRelativeSystemLogFile returns the path from the repo root to the log file in system format

Jump to

Keyboard shortcuts

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