#!/bin/sh
mkdir --parents vendor
phpabtpl \
	--require php-mock/php-mock-integration \
	--require-file ../tests/autoload.php \
	> debian/autoload.test.php.tpl
phpab --output vendor/autoload.php \
      --template debian/autoload.test.php.tpl \
      tests/
phpunit --do-not-cache-result \
	--bootstrap vendor/autoload.php \
	tests
