testutil

package
v0.6.0 Latest Latest
Warning

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

Go to latest
Published: Nov 24, 2022 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Component

type Component struct {
	Location string            `yaml:"location"`
	Files    map[string]string `yaml:"files"`
	Comp     leeway.Component  `yaml:"comp"`
	Packages []leeway.Package  `yaml:"packages"`
	Scripts  []leeway.Script   `yaml:"scripts"`
}

type Setup

type Setup struct {
	Workspace  leeway.Workspace `yaml:"workspace"`
	Components []Component      `yaml:"components"`
}

func LoadFromYAML

func LoadFromYAML(in io.Reader) (*Setup, error)

LoadFromYAML loads a workspace setup from a YAML file

func (Setup) Materialize

func (s Setup) Materialize() (workspaceRoot string, err error)

Materialize produces a leeway workspace according to the setup spec

Jump to

Keyboard shortcuts

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