This adds a couple of dummy asset files protected by the "noassets" build tag. The purpose is that it should be possible for, for example, CI tools and static analysis things to compile and analyze the source tree without our custom asset generation step. Also makes `go test -tags noassets ./...` work without building assets first.
12 lines
186 B
TOML
12 lines
186 B
TOML
version = 1
|
|
|
|
exclude_patterns = ["*.pb.go"]
|
|
|
|
[[analyzers]]
|
|
name = "go"
|
|
enabled = true
|
|
|
|
[analyzers.meta]
|
|
import_paths = ["github.com/syncthing/syncthing"]
|
|
build_tags = ["noassets"]
|