diff options
Diffstat (limited to 'bootstrap/config.go')
| -rw-r--r-- | bootstrap/config.go | 12 |
1 files changed, 8 insertions, 4 deletions
diff --git a/bootstrap/config.go b/bootstrap/config.go index ce96318..ab3b160 100644 --- a/bootstrap/config.go +++ b/bootstrap/config.go @@ -38,11 +38,15 @@ type ConfigInterface interface { GeneratingBootstrapper() bool } +type Stage int + +const ( + StageBootstrap Stage = iota + StageMain +) + type Config struct { - // generatingBootstrapper should be true if this build invocation is - // creating a build.ninja.in file to be used in a build bootstrapping - // sequence. - generatingBootstrapper bool + stage Stage topLevelBlueprintsFile string |
