#!/bin/sh

# The point of this test is to verify that the sources installed into the -dev
# package can be compiled using just the dependencies specified in that binary
# package.  In contrast to the 'dh-golang-autopkgtest', this is intended to
# catch missing dependencies that are listed in the Build-Depends only

set -ex

mkdir -p _clean_build
cp -a /usr/share/gocode/src _clean_build/
dh_auto_build --buildsystem=golang --builddirectory=_clean_build
