зеркало из https://github.com/golang/build.git
buildenv: add a Development buildenv
Change-Id: I9a78632ad63a526397702b4ee1e3ec253a0e81e5 Reviewed-on: https://go-review.googlesource.com/21010 Reviewed-by: Andrew Gerrand <adg@golang.org>
This commit is contained in:
Родитель
dddf9bcc5e
Коммит
08bad8ca42
|
@ -163,8 +163,14 @@ var Production = &Environment{
|
|||
SnapBucket: "go-build-snap",
|
||||
}
|
||||
|
||||
var Development = &Environment{
|
||||
IsProd: false,
|
||||
StaticIP: "127.0.0.1",
|
||||
}
|
||||
|
||||
// possibleEnvs enumerate the known buildenv.Environment definitions.
|
||||
var possibleEnvs = map[string]*Environment{
|
||||
"dev": Development,
|
||||
"symbolic-datum-552": Production,
|
||||
"go-dashboard-dev": Staging,
|
||||
}
|
||||
|
|
Загрузка…
Ссылка в новой задаче