File: rules

package info (click to toggle)
golang-github-zitadel-oidc 3.44.0-1
  • links: PTS, VCS
  • area: main
  • in suites: sid
  • size: 1,520 kB
  • sloc: makefile: 5
file content (13 lines) | stat: -rwxr-xr-x 550 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
#!/usr/bin/make -f

# Don't build the examples or "gen" utility
export DH_GOLANG_EXCLUDES := example internal/testutil/gen

# Include necessary test data
export DH_GOLANG_INSTALL_EXTRA := example/server/exampleop/templates example/server/service-key1.json pkg/oidc/regression_data pkg/op/form_post.html.tmpl

# Because other tests rely on templates under the example/ directory, change the default to include all source in the resulting package
export DH_GOLANG_EXCLUDES_ALL := 0

%:
	dh $@ --builddirectory=_build --buildsystem=golang --with=golang