monorepo

package
v0.1.6 Latest Latest
Warning

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

Go to latest
Published: Dec 11, 2021 License: Apache-2.0 Imports: 14 Imported by: 0

Documentation

Index

Constants

View Source
const ModeCurrentAffected = "current_affected"

ModeCurrentAffected will execute the specified commands if any of the current components dependecies have changed

View Source
const ModeCurrentChanged = "current_changed"

ModeCurrentChanged will execute the specified commands if the current component has changed

View Source
const ModeCurrentInvolved = "current_involved"

ModeCurrentInvolved will execute the specified commands if the current component or any of its dependecies have changed

Variables

View Source
var Main = &cobra.Command{
	Use:   "monorepo",
	Short: "Helpers for CircleCI Monorepo Support",
}

Main cobra command for monorepo support

Functions

This section is empty.

Types

type Component

type Component struct {
	ID           string   `yaml:"id"`
	Name         string   `yaml:"name"`
	Dependencies []string `yaml:"deps"`
	Path         string   `yaml:"path"`
}

Component struct represent the configuration stored in yaml enriched by the relative path of the component in relation to the rootDirectory.

func (Component) String

func (component Component) String() string

type ComponentGraph

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

ComponentGraph struct represent the graph of all components found in the specified rootDirectory and its subdirectories.

Jump to

Keyboard shortcuts

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