fork of https://github.com/sourcegraph/zoekt
0

Configure Feed

Select the types of activity you want to include in your feed.

Support specifying ctags command with env CTAGS_COMMAND

Change-Id: I12defedb1f4833ca7810dec8256ba7105b8310d4

+6
+6
build/builder.go
··· 125 125 // SetDefaults sets reasonable default options. 126 126 func (o *Options) SetDefaults() { 127 127 if o.CTags == "" { 128 + if ctags := os.Getenv("CTAGS_COMMAND"); ctags != "" { 129 + o.CTags = ctags 130 + } 131 + } 132 + 133 + if o.CTags == "" { 128 134 ctags, err := exec.LookPath("universal-ctags") 129 135 if err == nil { 130 136 o.CTags = ctags