[test] add unit tests for ruleset
We extract the rules building logic from readfile into a Ruleset.buildrules()
method to ease testing.
#!/usr/bin/make -f
%:
dh --with python2 $@
override_dh_auto_install:
$(MAKE) installfiles \
DESTDIR=./debian/mercurial-server/ \
PREFIX=/usr/share
override_dh_python2:
dh_python2 /usr/share/mercurial-server/mercurialserver
override_dh_installchangelogs:
dh_installchangelogs NEWS