mirror of https://github.com/databricks/cli.git
18 lines
349 B
Go
18 lines
349 B
Go
package mutator
|
|
|
|
import (
|
|
"github.com/databricks/bricks/bundle"
|
|
)
|
|
|
|
func DefaultMutators() []bundle.Mutator {
|
|
return []bundle.Mutator{
|
|
DefineDefaultInclude(),
|
|
ProcessRootIncludes(),
|
|
DefineDefaultEnvironment(),
|
|
}
|
|
}
|
|
|
|
func DefaultMutatorsForEnvironment(env string) []bundle.Mutator {
|
|
return append(DefaultMutators(), SelectEnvironment(env))
|
|
}
|