1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28
|
#!/usr/bin/make -f
%:
dh $@ --with phpcomposer
override_dh_auto_build:
phpab --output lib/Doctrine/Common/Cache/autoload.php \
lib/Doctrine/Common/Cache
mkdir --parents vendor debian/tmp
phpabtpl \
--require doctrine/cache \
--require psr/cache \
--require cache/integration-tests \
--require symfony/cache \
> debian/autoload.tests.php.tpl
phpab \
--output vendor/autoload.php \
--template debian/autoload.tests.php.tpl \
tests
override_dh_auto_clean:
override_dh_auto_test:
memcached -d -u memcache
redis-server --daemonize yes
phpunit --include-path lib --bootstrap vendor/autoload.php
override_dh_installchangelogs:
dh_installchangelogs debian/upstream/changelog
|