dev/debian-build/dbuild_release
author David Douard <david.douard@logilab.fr>
Mon, 03 Nov 2014 11:12:35 +0100
changeset 371 e9ce904b62a9
parent 336 5874d49da474
permissions -rwxr-xr-x
[test] add unit tests for ruleset We extract the rules building logic from readfile into a Ruleset.buildrules() method to ease testing.

#!/bin/sh

set -e

cd $(hg root)

echo "FIXME: address tagging and diffing issues before using in anger"
exit 255
# TODO here:
# ensure appropriate tags release_X and debian_X-Y exist
# ensure that we are identical to debian_X-Y ignoring certain files
# ensure that we are identical to release_X ignoring certain files

DPKG_BUILDPACKAGE_OPTIONS=-kFD56DDC0

. dev/debian-build/dbuild

sudo pbuilder --build ${PACKAGE}_${DEBIAN_VERSION}.dsc