config package - github.com/sunfish-shogi/go-monorepo-expt/monorepo/pkgs/config - Go Packages

config

package
v0.0.0-...-ea90449 Latest Latest
Warning

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

Go to latest
Published: Aug 26, 2025 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

View Source
const PackageConfigFileName = "go-mono-pkg.yaml"
View Source
const RepoConfigFileName = "go-mono.yaml"

Variables

This section is empty.

Functions

This section is empty.

Types

type BuildTarget

type BuildTarget struct {
	ID    string         `yaml:"id"`
	Path  string         `yaml:"path"`
	Jobs  []Job          `yaml:"jobs,omitempty"`
	Props map[string]any `yaml:"props,omitempty"`
}

type GHA

type GHA struct {
	Targets []BuildTarget `yaml:"targets"`
}

type Job

type Job struct {
	Name string `yaml:"name"`
}

type PackageConfig

type PackageConfig struct {
	ExtraDependencies []string `yaml:"extraDependencies,omitempty"`
}

func ReadPackageConfig

func ReadPackageConfig(path string) (*PackageConfig, error)

type RepoConfig

type RepoConfig struct {
	GHA `yaml:"gha"`
}

func ReadRepoConfig

func ReadRepoConfig(path string) (*RepoConfig, error)

Jump to

Keyboard shortcuts

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