#!/bin/sh

set +x
set -e

# This is needed because of the test classes
# keep in sync with debian/rules

phpabtpl 2>/dev/null --require Zumba/JsonSerializer > debian/vendor-autoload.php.tpl
phpab --output tests/autoload.php \
      --template debian/vendor-autoload.php.tpl \
    tests

# keep in sync with debian/rules
phpunit --bootstrap tests/autoload.php
