From a35fc3ad578892937de2b67ad800d9b5692eeecb Mon Sep 17 00:00:00 2001 From: Jakob Cornell Date: Sun, 25 Sep 2022 12:57:18 -0500 Subject: [PATCH] Minor tweaks to build helper --- build_helper.py | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/build_helper.py b/build_helper.py index c669c83..c6c6ec9 100644 --- a/build_helper.py +++ b/build_helper.py @@ -18,6 +18,7 @@ def _is_output(path: Path) -> bool: ".deb", ".debian.tar.xz", ".dsc", + ".orig.tar.xz", ] ) @@ -45,10 +46,10 @@ if args.cmd == "build": p.unlink() # regenerate the "orig" tarball from the current source - run(["dh_make", "-y", "--indep", "--createorig", "-p", "strikebot_" + version], cwd = upstream_root) + run(["dh_make", "--python", "--createorig", "-p", "strikebot_" + version], cwd = upstream_root) - # build the package - run(["debuild"], cwd = upstream_root, check = True) + # build the source package + run(["debuild", "-i", "-us", "-uc", "-S"], cwd = upstream_root, check = True) # move outputs to build directory for p in project_root.iterdir(): -- 2.30.2