1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19
|
#!/usr/bin/make -f
## Don't build examples/revelapp due to FTBFS:
## src/github.com/bugsnag/bugsnag-go/examples/revelapp/tests/apptest.go:6: undefined: revel.TestSuite
DH_GOLANG_EXCLUDES = examples/revelapp
## Don't build examples/http binary:
DH_GOLANG_EXCLUDES += examples/http
export DH_GOLANG_EXCLUDES
%:
dh $@ --builddirectory=_build --buildsystem=golang --with=golang
execute_after_dh_auto_configure:
cp -av $(CURDIR)/debian/go/src _build/src/github.com/bugsnag/bugsnag-go/vendor
override_dh_auto_install:
dh_auto_install -- --no-binaries
|