Debian Codegraph @

debian/rules

raw
1 #!/usr/bin/make -f
2
3 export DH_GOLANG_EXCLUDES := example examples
4
5 # Go 1.27 promotes encoding/json/v2 to the standard library and enables it by
6 # default. Under jsonv2, json.RawMessage is aliased to jsontext.Value, which
7 # breaks funcr's `value.(json.RawMessage)` type assertion and makes TestRender
8 # render raw JSON as an escaped string. Force the v1 semantics until upstream
9 # is jsonv2-aware. See https://github.com/golang/go/issues/79770
10 export GOEXPERIMENT := nojsonv2
11
12 %:
13 dh $@ --builddirectory=_build --buildsystem=golang