summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.sbuildrc6
-rw-r--r--.zshrc5
2 files changed, 9 insertions, 2 deletions
diff --git a/.sbuildrc b/.sbuildrc
index 0feaf6dd..0689cbbb 100644
--- a/.sbuildrc
+++ b/.sbuildrc
@@ -15,7 +15,8 @@ $lintian_opts = [
'--display-info'
];
-$run_piuparts = 1;
+# don't run by default: see build-for-upload function in .zshrc
+$run_piuparts = 0;
$piuparts_opts = [
'--schroot',
'%r-%a-piuparts',
@@ -24,7 +25,8 @@ $piuparts_opts = [
'--log-level=info',
];
-$run_autopkgtest = 1;
+# don't run by default: see build-for-upload function in .zshrc
+$run_autopkgtest = 0;
$autopkgtest_root_args = "";
$autopkgtest_opts = ["--", "schroot", "%r-%a-sbuild"];
diff --git a/.zshrc b/.zshrc
index 52a810d5..b17cabef 100644
--- a/.zshrc
+++ b/.zshrc
@@ -102,6 +102,11 @@ dak-rdeps () {
ssh mirror.ftp-master.debian.org "dak rm -Rn $@"
}
+build-for-upload () {
+ dgit sbuild "$@" --no-run-lintian --run-piuparts --run-autopkgtest
+ lintian
+}
+
# based on gregor hermann's dh-make-perl-dev he posted on bugs.d.o
dh-make-elpa-dev () {
PERL5LIB=~/src/dh-make-elpa/lib/ ~/src/dh-make-elpa/dh-make-elpa "$@"