File: build-only

package info (click to toggle)
golang-github-containers-storage 1.59.1%2Bds1-2
  • links: PTS, VCS
  • area: main
  • in suites: experimental
  • size: 4,184 kB
  • sloc: sh: 630; ansic: 389; makefile: 143; awk: 12
file content (12 lines) | stat: -rwxr-xr-x 455 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
#!/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