summaryrefslogtreecommitdiff
path: root/config/config.go
blob: 695759fe77bbda3c94a268a48efc6c85a9ba241c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
// Package config provides the internal representation of Blubber
// configuration parsed from YAML. Each configuration type may implement
// its own hooks for injecting build instructions into the compiler.
//
package config

// Config holds the root fields of a Blubber configuration.
//
type Config struct {
	CommonConfig  `yaml:",inline"`
	Variants      map[string]VariantConfig `yaml:"variants" validate:"variants,dive"`
	VersionConfig `yaml:",inline"`
}