File: rules

package info (click to toggle)
golang-google-api 0.214.0-1
  • links: PTS, VCS
  • area: main
  • in suites:
  • size: 317,208 kB
  • sloc: sh: 211; makefile: 26
file content (19 lines) | stat: -rwxr-xr-x 701 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
#!/usr/bin/make -f

# The example programs should not be compiled, and we are not interested in the
# generator itself either, only its output.
export DH_GOLANG_EXCLUDES := \
 google.golang.org/api/google-api-go-generator \
 google.golang.org/api/examples \
 google.golang.org/api/internal/ecp \
 google.golang.org/api/internal/kokoro/discogen \
 google.golang.org/api/internal/kokoro/synth/sendpr

export DH_GOLANG_INSTALL_EXTRA := internal/testdata/service-account.json

%:
	dh $@ --buildsystem=golang

# Skip tests requires to create credentials or access credentials via Google Cloud environment
override_dh_auto_test:
	dh_auto_test -- -short -test.skip="TestNewClient|TestDial|TestLogDirectPath"