oficina / equipo Public

Clone
git clone https://amadan.net/oficina/equipo

Plain git — no account needed to clone.

Download

Download this file

1//go:build testbuild
2
3package thin
4
5import (
6 "os"
7 "strings"
8)
9
10// A test build may show tool images to engines not yet known to show
11// them (EQUIPO_TEST_IMAGE_RESULTS, a comma list such as "claude"): the
12// live witness (headless TestLiveAttachment) checks one that way before
13// imageResults trusts it. A release build never passes -tags testbuild.
14func init() {
15 for _, p := range strings.Split(os.Getenv("EQUIPO_TEST_IMAGE_RESULTS"), ",") {
16 if p = strings.TrimSpace(p); p != "" {
17 imageResults[p] = true
18 }
19 }
20}
21