Debian Codegraph @

debian/rules

raw symbols SCIP
1 #!/usr/bin/make -f
2
3 #export DH_VERBOSE := 1
4 # Disable conformance due to it requires with Bazel workspace, and not to vendoring it due to out of previous discussion.
5 export DH_GOLANG_EXCLUDES := examples codelab repl/main conformance
6 export DH_GOLANG_INSTALL_EXTRA := cel/templates/authoring.tmpl
7
8 export BUILDDIR := build
9
10 %:
11 dh $@ --builddirectory=$(BUILDDIR)
12
13 execute_before_dh_auto_configure:
14 mkdir -p -v $(BUILDDIR)/src/github.com/google/cel-go/vendor
15 cp -v -a debian/missing-sources/* $(BUILDDIR)/src/github.com/google/cel-go/vendor
16
17 override_dh_install:
18 find debian/golang-github-google-cel-go-dev/usr/share/gocode/src/github.com/google/cel-go/ \
19 -type f -exec chmod -x \{\} \;
20 dh_install -i
21
22 override_dh_auto_test:
23 # Set to warn to workaround the conflict registration from vendor/
24 GOLANG_PROTOBUF_REGISTRATION_CONFLICT=warn dh_auto_test -- -short