summaryrefslogtreecommitdiff
path: root/config/config.go
blob: 8fa6844bd5ad186370b17cf561b37a817e6dd220 (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  `json:",inline"`
	Variants      map[string]VariantConfig `json:"variants" validate:"variants,dive"`
	VersionConfig `json:",inline"`
}