mirror of https://github.com/perkeep/perkeep.git
devcam: add -race flag
Change-Id: I1d477431b917faba3d2ee99ef5241dda14e748f3
This commit is contained in:
parent
2fde7c11a0
commit
2d2a0c1479
|
@ -34,6 +34,7 @@ import (
|
|||
|
||||
var (
|
||||
noBuild = flag.Bool("nobuild", false, "do not rebuild anything")
|
||||
race = flag.Bool("race", false, "build with race detector")
|
||||
quiet, _ = strconv.ParseBool(os.Getenv("CAMLI_QUIET"))
|
||||
// Whether to build the subcommand with sqlite support. This only
|
||||
// concerns the server subcommand, which sets it to serverCmd.sqlite.
|
||||
|
@ -176,6 +177,7 @@ func build(path string) error {
|
|||
args := []string{
|
||||
"run", "make.go",
|
||||
"--quiet",
|
||||
"--race=" + strconv.FormatBool(*race),
|
||||
"--embed_static=false",
|
||||
"--sqlite=" + strconv.FormatBool(withSqlite),
|
||||
fmt.Sprintf("--if_mods_since=%d", modtime),
|
||||
|
|
Loading…
Reference in New Issue