blob: e529a7d318723808838c6d35adbe4db37500948c (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
|
#!/bin/sh
# run a package build and the full suite of checks that I can do
# locally before an upload. Generally I use this on an UNRELEASED
# package and then use `dgit push` for the actual upload
set -e
dgit=""
sbuild=""
for key in "$@"; do
case $key in
--gbp|--dpm|--quilt=*)
dgit="$dgit $key"
shift
;;
*)
sbuild="$sbuild $key"
shift
;;
esac
done
case $(pwd) in
*src/DHG_packages/p*)
sbuild $sbuild --run-piuparts --run-autopkgtest
;;
*)
eval dgit $dgit sbuild $sbuild --run-piuparts --run-autopkgtest
esac
|