File: rules

package info (click to toggle)
golang-google-appengine 1.0.0-2
  • links: PTS, VCS
  • area: main
  • in suites: stretch
  • size: 1,456 kB
  • ctags: 4,598
  • sloc: sh: 22; makefile: 4
file content (13 lines) | stat: -rwxr-xr-x 443 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
#!/usr/bin/make -f

# Excludes:
# demos/ — only make sense when you deploy them to appengine, not as binaries
# cmd/ — Debian packages of Go libraries are only used as dependencies in other
#        packages, never interactively.
export DH_GOLANG_EXCLUDES := google.golang.org/appengine/demos google.golang.org/appengine/cmd

# Avoid network access in some tests.
export API_HOST := 127.0.0.1

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