summaryrefslogtreecommitdiff
path: root/config/config.go
blob: 46be3d177a5605b06bc60c2bf969d10b0f9a5bc0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
// 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"`
}